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. It is recommended to upgrade to 1.9.1....
HighCVSS 7.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libgcrypt11(Ubuntu Pro 14.04) | < 1.5.3-2ubuntu4.6+esm1; = 1.5.0-3ubuntu3; = 1.5.3-2ubuntu1; = 1.5.3-2ubuntu4 +6 more | 1.5.3-2ubuntu4.6+esm1 | Fixed |
| ubuntu/libgcrypt20(Ubuntu 16.04) | < 1.6.5-2ubuntu0.6; = 1.6.3-2ubuntu1; = 1.6.4-3; = 1.6.4-4 +6 more | 1.6.5-2ubuntu0.6 | Fixed |
| ubuntu/libgcrypt20(Ubuntu 18.04) | < 1.8.1-4ubuntu1.2; = 1.7.8-2ubuntu1; = 1.7.9-1; = 1.8.1-4 +2 more | 1.8.1-4ubuntu1.2 | Fixed |
| ubuntu/libgcrypt20(Ubuntu 20.04) | < 1.8.5-5ubuntu1; = 1.8.4-5ubuntu2; = 1.8.5-3ubuntu1 | 1.8.5-5ubuntu1 | Fixed |
| gnupg Libgcrypt | = 1.9.0 | No fix listed | Versions listed |
| oracle communications billing and revenue management | = 12.0.0.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gnupg Libgcrypt | = 1.9.0 | No fix listed |
| oracle communications billing and revenue management | = 12.0.0.3.0 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | < 1.5.3-2ubuntu4.6+esm1 | 1.5.3-2ubuntu4.6+esm1 |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.0-3ubuntu3 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu1 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu4 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu4.1 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu4.2 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu4.3 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu4.4 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu4.5 | No fix listed |
| ubuntu/libgcrypt11(Ubuntu:Pro:14.04) | = 1.5.3-2ubuntu4.6 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | < 1.6.5-2ubuntu0.6 | 1.6.5-2ubuntu0.6 |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.3-2ubuntu1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.4-3 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.4-4 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.4-5 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.5-2 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.5-2ubuntu0.2 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.5-2ubuntu0.3 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.5-2ubuntu0.4 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:16.04) | = 1.6.5-2ubuntu0.5 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:18.04) | < 1.8.1-4ubuntu1.2 | 1.8.1-4ubuntu1.2 |
| ubuntu/libgcrypt20(Ubuntu:18.04) | = 1.7.8-2ubuntu1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:18.04) | = 1.7.9-1 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libgcrypt20(Ubuntu:18.04) | = 1.8.1-4 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:18.04) | = 1.8.1-4ubuntu1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:18.04) | = 1.8.1-4ubuntu1.1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:20.04) | < 1.8.5-5ubuntu1 | 1.8.5-5ubuntu1 |
| ubuntu/libgcrypt20(Ubuntu:20.04) | = 1.8.4-5ubuntu2 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:20.04) | = 1.8.5-3ubuntu1 | No fix listed |
References
- bugs.gentoo.org issue-tracking vendor-advisory
- git.gnupg.org
- gnupg.org issue-tracking vendor-advisory
- lists.gnupg.org issue-tracking mailing-list vendor-advisory
- lists.gnupg.org issue-tracking mailing-list patch vendor-advisory
- www.oracle.com third-party-advisory
- Debian Security Tracker CVE-2021-3345 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- git.gnupg.org issue-tracking
- www.cve.org issue-tracking