CVE-2021-40530
Last modified
CVE-2021-40530 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 1.12% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cryptopp | Crypto\+\+ | <= 8.5 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
References
- https://eprint.iacr.org/2021/923Technical Description, Third Party Advisory
- https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2Exploit, Third Party Advisory
- https://eprint.iacr.org/2021/923Technical Description, Third Party Advisory
- https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40530?
How severe is CVE-2021-40530?
How do I fix CVE-2021-40530?
Are you affected by CVE-2021-40530?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
