CVE-2021-40530

EUVD-2021-27705
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 48%
Affected Products (NVD)
VendorProductVersion
cryptoppcrypto\+\+
𝑥
≤ 8.5
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libcrypto++
bookworm
8.7.0+git220824-1
fixed
bullseye
no-dsa
buster
no-dsa
sid
8.9.0-1.1
fixed
stretch
no-dsa
trixie
8.9.0-1.1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libcrypto++
bionic
needs-triage
focal
needs-triage
hirsute
ignored
impish
ignored
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
needs-triage
xenial
needs-triage