alpine 3.6
crypto weakness #51

4

Weakness Breakdown


Definition:

This weakness involves creating non-standard or non-tested algorithms, using weak algorithms or applying cryptographic algorithms incorrectly. Algorithms that were once considered safe are commonly later found to be unsafe, as the algorithms were broken.

Warning code(s):

The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment.

File Name:

syslinux/src/syslinux-6.04-pre1/com32/cmenu/libmenu/des.h

Context:

The highlighted line of code below is the trigger point of this particular Alpine 3.6 crypto weakness.

 
#ifndef _DES_H_
#define _DES_H_

// des crypt
extern char *crypt(const char *key, const char *salt);

#endif 

The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a world­wide basis.