Vulnerability in Cryptopp Crypto\+\+
CVE-2021-40530
The ElGamal implementation in Crypto++ through 8.5 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.
Vulnerability class: POODLE (CVE-2014-3566)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.012, 67.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cryptopp Crypto\+\+
- Fedoraproject Fedora — versions 33, 34, 35
Weakness classification (CWE)
References
- eprint.iacr.org/2021/923 (Technical Description, Third Party Advisory)
- ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 (Third Party Advisory)
- ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 (Exploit, Third Party Advisory)
- FEDORA-2021-8b14da0538 (vendor-advisory)
- FEDORA-2021-a381a721a9 (vendor-advisory)
- FEDORA-2021-6788250ea4 (vendor-advisory)