CVE-2021-40528
Medium
Description
The ElGamal implementation in Libgcrypt before 1.9.4 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.
SeverityMedium
CVSS5.9
Exploit probability—
ProductGnupg Libgcrypt
PublishedSep 6, 2021
First seenSep 6, 2021
Weakness typeCWE-327CWE-327
How to fix
Update
- gnupg libgcrypt1.9.4 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gnupg libgcrypt | v < 1.9.4 | 1.9.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.