High severity · published Jan 29, 2021
CVE-2021-3345
_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value
7.8
CVSS
1.1%
EPSS
No
On KEV
Description
_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CB
Communications Billing And Revenue Management · Oracle
12.0.0.3.0 · source: NVD
LI
Libgcrypt · Gnupg
1.9.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3345
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3345
Issue Tracking
https://bugs.gentoo.org/show_bug.cgi?id=767814
git.gnupg.org
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08
Vendor Advisory
https://gnupg.org
Mailing List
https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html
Mailing List
https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html
Third Party Advisory
https://www.oracle.com//security-alerts/cpujul2021.html
More from Libgcrypt
7.5
CVE-2021-33560
Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to address a side-channel attack against mpi_powm, and the window…
7.5
CVE-2018-6829
cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers to obtain sensitive information by…
7.5
CVE-2017-0379
Libgcrypt before 1.8.1 does not properly consider Curve25519 side-channel attacks, which makes it easier for attackers to discover a secret key, related to cipher/ecc.c and…
6.8
CVE-2017-7526
libgcrypt before version 1.7.8 is vulnerable to a cache side-channel attack resulting into a complete break of RSA-1024 while using the left-to-right method for computing the…
6.7
CVE-2026-41989
Libgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt
