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.
References
Link | Resource |
---|---|
https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 | Third Party Advisory |
https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 | Exploit Third Party Advisory |
https://eprint.iacr.org/2021/923 | Technical Description Third Party Advisory |
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=3462280f2e23e16adf3ed5176e0f2413d8861320 | Mailing List Patch Third Party Advisory |
https://security.gentoo.org/glsa/202210-13 | Third Party Advisory |
Configurations
Information
Published : 2021-09-06 12:15
Updated : 2022-12-06 17:36
NVD link : CVE-2021-40528
Mitre link : CVE-2021-40528
JSON object : View
CWE
CWE-327
Use of a Broken or Risky Cryptographic Algorithm
Products Affected
gnupg
- libgcrypt