CVE-2021-40528

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*

History

07 Nov 2023, 03:38

Type Values Removed Values Added
References
  • {'url': 'https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=3462280f2e23e16adf3ed5176e0f2413d8861320', 'name': 'https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=3462280f2e23e16adf3ed5176e0f2413d8861320', 'tags': ['Mailing List', 'Patch', 'Third Party Advisory'], 'refsource': 'MISC'}
  • () https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=3462280f2e23e16adf3ed5176e0f2413d8861320 -

07 Dec 2022, 01:36

Type Values Removed Values Added
References (GENTOO) https://security.gentoo.org/glsa/202210-13 - (GENTOO) https://security.gentoo.org/glsa/202210-13 - Third Party Advisory

31 Oct 2022, 04:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202210-13 -

29 Nov 2021, 21:37

Type Values Removed Values Added
References (MISC) https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=3462280f2e23e16adf3ed5176e0f2413d8861320 - (MISC) https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=3462280f2e23e16adf3ed5176e0f2413d8861320 - Mailing List, Patch, Third Party Advisory

17 Nov 2021, 07:15

Type Values Removed Values Added
References
  • (MISC) https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=3462280f2e23e16adf3ed5176e0f2413d8861320 -

13 Sep 2021, 16:22

Type Values Removed Values Added
References (MISC) https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 - (MISC) https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 - Exploit, Third Party Advisory
References (MISC) https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 - (MISC) https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 - Third Party Advisory
References (MISC) https://eprint.iacr.org/2021/923 - (MISC) https://eprint.iacr.org/2021/923 - Technical Description, Third Party Advisory
CPE cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*
CWE CWE-327
CVSS v2 : unknown
v3 : unknown
v2 : 2.6
v3 : 5.9

06 Sep 2021, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-09-06 19:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-40528

Mitre link : CVE-2021-40528

CVE.ORG link : CVE-2021-40528


JSON object : View

Products Affected

gnupg

  • libgcrypt
CWE
CWE-327

Use of a Broken or Risky Cryptographic Algorithm