Name | CVE-2021-3345 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 981370 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libgcrypt20 (PTS) | jessie, jessie (lts) | 1.6.3-2+deb8u9 | fixed |
| stretch (security), stretch (lts), stretch | 1.7.6-2+deb9u4 | fixed |
| buster | 1.8.4-5+deb10u1 | fixed |
| bullseye | 1.8.7-6 | fixed |
| bookworm | 1.10.1-3 | fixed |
| sid, trixie | 1.11.0-6 | fixed |
The information below is based on the following data on fixed versions.
Notes
- libgcrypt20 <not-affected> (Only affected 1.9)
https://bugs.chromium.org/p/project-zero/issues/detail?id=2145
https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html
https://dev.gnupg.org/T5275
Introduced by: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=e76617cbab018dd8f41fd6b4ec6740b5303f7e13
Fixed by: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08