CVE-2021-40528: Medium severity gnupg Libgcrypt vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
libgcrypt (ElGamal implementation)to a version that resolves this vulnerability.Fixed in 1.9.4
Event History
Frequently Asked Questions
What is the vulnerability ID for this vulnerability?
The vulnerability ID for this vulnerability is CVE-2021-40528.
What is the severity of CVE-2021-40528?
The severity of CVE-2021-40528 is medium with a CVSS score of 5.9.
Which software is affected by CVE-2021-40528?
The software affected by CVE-2021-40528 is GnuPG Libgcrypt version up to 1.9.4.
How can the plaintext recovery vulnerability be exploited?
The plaintext recovery vulnerability can be exploited during interaction between two cryptographic libraries by using a certain dangerous combination of the prime, generator, and ephemeral public key.
Is there a fix available for CVE-2021-40528?
Yes, the fix for CVE-2021-40528 is available in Libgcrypt version 1.9.4.