Encryption algorithm associated with the cipher context is weak
This defect occurs when you associate a weak encryption algorithm with the cipher context.
Some encryption algorithms have known flaws. Though the OpenSSL library still supports the algorithms, you must avoid using them.
If your cipher algorithm is weak, an attacker can decrypt your data by exploiting a known flaw or brute force attacks.
Use algorithms that are well-studied and widely acknowledged as secure.
For instance, the Advanced Encryption Standard (AES) is a widely accepted cipher algorithm.
| Group: Cryptography |
| Language: C | C++ |
| Default: Off |
Command-Line Syntax: CRYPTO_CIPHER_WEAK_CIPHER |
| Impact: Medium |
| CWE ID: 310, 326, 327 |