CVE-2021-40530
published 2021-09-06CVE-2021-40530: The ElGamal implementation in Crypto++ through 8.5 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain…
PriorityP430medium5.9CVSS 3.1
AVNACHPRNUINSUCHINAN
EPSS
1.16%
63.5th percentile
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
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cryptopp | crypto | <= 8.5 | — |
| debian | libcrypto | < libcrypto++ 8.6.0-1 (bookworm) | libcrypto++ 8.6.0-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
CVSS provenance
nvdv3.15.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.02.6LOWAV:N/AC:H/Au:N/C:P/I:N/A:N
osv5.9MEDIUM
vendor_debian5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-p3r9-6fhw-hgv8: The ElGamal implementation in Crypto++ through 8
ghsa_unreviewed·2022-05-24
CVE-2021-40530 [MEDIUM] CWE-327 GHSA-p3r9-6fhw-hgv8: The ElGamal implementation in Crypto++ through 8
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.
OSV
CVE-2021-40530: The ElGamal implementation in Crypto++ through 8
osv·2021-09-06·CVSS 5.9
CVE-2021-40530 [MEDIUM] CVE-2021-40530: The ElGamal implementation in Crypto++ through 8
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.
Debian
CVE-2021-40530: libcrypto++ - The ElGamal implementation in Crypto++ through 8.5 allows plaintext recovery bec...
vendor_debian·2021·CVSS 5.9
CVE-2021-40530 [MEDIUM] CVE-2021-40530: libcrypto++ - The ElGamal implementation in Crypto++ through 8.5 allows plaintext recovery bec...
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.
Scope: local
bookworm: resolved (fixed in 8.6.0-1)
bullseye: open
forky: resolved (fixed in 8.6.0-1)
sid: resolved (fixed in 8.6.0-1)
trixie: resolved (fixed in 8.6.0-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://eprint.iacr.org/2021/923https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/https://eprint.iacr.org/2021/923https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/
2021-09-06
Published