CVSS 3.1
5.9 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NMedium (5.9) in gnupg libgcrypt. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExplain CVE-2021-40528 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40528?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40528?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40528 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gnupg:libgcrypt | before 1.9.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | libgcrypt20 | 1.7.6-2+deb9u4 | DLA-2691-1 |
| Debian | 12, 13, 14 | libgcrypt20 | 1.8.7-6 | DEBIAN-CVE-2021-40528 |
| Ubuntu | 18.04:LTS | libgcrypt20 | 1.8.1-4ubuntu1.3 | UBUNTU-CVE-2021-40528 USN-5080-1 |
| Ubuntu | 20.04:LTS | libgcrypt20 | 1.8.5-5ubuntu1.1 | UBUNTU-CVE-2021-40528 USN-5080-1 |
| Ubuntu | 22.04:LTS | libgcrypt20 | 1.8.7-5ubuntu2 | UBUNTU-CVE-2021-40528 |
| Ubuntu | Pro:16.04:LTS | libgcrypt20 | 1.6.5-2ubuntu0.6+esm1 | UBUNTU-CVE-2021-40528 USN-5080-2 |
| Ubuntu | Pro:FIPS-updates:18.04:LTS | libgcrypt20 | 1.8.1-4ubuntu1.fips.3 | UBUNTU-CVE-2021-40528 |
| Ubuntu | Pro:FIPS-updates:20.04:LTS, Pro:FIPS:20.04:LTS | libgcrypt20 | 1.8.5-5ubuntu1.fips.1.1 | UBUNTU-CVE-2021-40528 |
| Ubuntu | Pro:FIPS:18.04:LTS | libgcrypt20 | no fix listed | UBUNTU-CVE-2021-40528 |
| Red Hat | enterprise_linux:8::baseos | libgcrypt, libgcrypt-devel, libgcrypt-debuginfo and 2 more | 0:1.8.5-7.el8_6 | RHSA-2022:5311 |
| openSUSE | Tumbleweed | libgcrypt | 1.10.1-1.1 | openSUSE-SU-2024:12540-1 |
| AlmaLinux | 8 | libgcrypt, libgcrypt-devel | 1.8.5-7.el8_6 | ALSA-2022:5311 |
| Rocky Linux | 8 | libgcrypt | 0:1.8.5-7.el8_6 | RLSA-2022:5311 |
| Alpine | v3.11, v3.12, v3.13 | libgcrypt | 1.8.8-r1 | ALPINE-CVE-2021-40528 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.
Red Hat rates this Moderate.
Please note that there was a mixup between this CVE and CVE-2021-33560. At this time, both CVEs should be assumed to refer to the same issue. More information will be provided in the near future. See the first link in External References for more information.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libgcrypt-0:1.8.5-7.el8_6 | Fixed 2022-06-30 | RHSA-2022:5311 |
| Red Hat Enterprise Linux 6 | libgcrypt | Out of support scope | |
| Red Hat Enterprise Linux 7 | libgcrypt | Out of support scope | |
| Red Hat Enterprise Linux 9 | libgcrypt | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-40528.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.