Vulnerabilities · 2021 · Cryptopp
CVE-2021-40530
Cryptopp Crypto\+\+ vulnerability
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.
Affected products
Crypto\+\+, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cryptopp Crypto\+\+ runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- eprint.iacr.org/2021/923 · 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
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V
- nvd.nist.gov/vuln/detail/CVE-2021-40530
- cve.org/CVERecord?id=CVE-2021-40530
More vulnerabilities in Cryptopp products
CVE-2023-50981CVE-2023-50980CVE-2023-50979CVE-2022-48570CVE-2021-43398CVE-2019-14318CVE-2017-9434CVE-2016-9939All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.