CVE-2021-40530

MEDIUMCVSS 5.9/10EPSS 1.12%

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
5.9/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
1.12%

62.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
CryptoppCrypto\+\+<= 8.5
FedoraprojectFedora33
FedoraprojectFedora34
FedoraprojectFedora35

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-40530?
CVE-2021-40530 has a CVSS score of 5.9/10 (MEDIUM severity). The EPSS model estimates a 1.12% probability of exploitation in the next 30 days.
How do I fix CVE-2021-40530?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-40530?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST