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 or later.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | libgcrypt20 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | libgcrypt20 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libgcrypt20 | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | libgcrypt20 | Fix pending | ||
| Red Hat Enterprise Linux 9 | libgcrypt | Not affected | ||
| Red Hat Enterprise Linux 9 | libgcrypt-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libgcrypt | Not affected | ||
| Red Hat Enterprise Linux 8 | libgcrypt-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libgcrypt | Not affected | ||
| Red Hat Enterprise Linux 7 | libgcrypt-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libgcrypt | Not affected | ||
| Red Hat Enterprise Linux 6 | libgcrypt-devel | Not affected |
References
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=512c0c75276949f13b6373b5c04f7065af750b08
- https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html
- https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html
- https://gnupg.org
- https://bugs.gentoo.org/show_bug.cgi?id=767814
- https://www.oracle.com//security-alerts/cpujul2021.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.