Vulnerability · Published Jun 8, 2021 · Assigned by mitre
CVE-2021-33560
High 7.5
In plain English
A high-severity security flaw in the libgcrypt package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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 size is not chosen appropriately. This, for example, affects use of ElGamal in OpenPGP.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libgcrypt | 1.8.5-6.el8 | ALSA-2021:4409 |
| AlmaLinux:8 | libgcrypt-devel | 1.8.5-6.el8 | ALSA-2021:4409 |
| Alpine:v3.20 | libgcrypt | 1.9.4-r0 | ALPINE-CVE-2021-33560 |
| Alpine:v3.21 | libgcrypt | 1.9.4-r0 | ALPINE-CVE-2021-33560 |
| Alpine:v3.22 | libgcrypt | 1.9.4-r0 | ALPINE-CVE-2021-33560 |
| Alpine:v3.23 | libgcrypt | 1.9.4-r0 | ALPINE-CVE-2021-33560 |
| Alpine:v3.24 | libgcrypt | 1.9.4-r0 | ALPINE-CVE-2021-33560 |
| Debian:12 | libgcrypt20 | 1.9.4-2 | DEBIAN-CVE-2021-33560 |
| Debian:13 | libgcrypt20 | 1.9.4-2 | DEBIAN-CVE-2021-33560 |
| Debian:14 | libgcrypt20 | 1.9.4-2 | DEBIAN-CVE-2021-33560 |
| Rocky Linux:8 | libgcrypt | 0:1.8.5-6.el8 | RLSA-2021:4409 |
| Ubuntu:22.04:LTS | libgcrypt20 | 1.8.7-5ubuntu2 | UBUNTU-CVE-2021-33560 |
Affected products (as reported)
Weakness: CWE-325 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://dev.gnupg.org/T5328
- [debian-lts-announce] 20210624 [SECURITY] [DLA 2691-1] libgcrypt20 security update mailing-list
- FEDORA-2021-24d4e06195 vendor-advisory
- FEDORA-2021-31fdc84207 vendor-advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://dev.gnupg.org/T5466
- https://dev.gnupg.org/T5305
- https://dev.gnupg.org/rCe8b7f10be275bcedb5fc05ed4837a89bfd605c61
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- GLSA-202210-13 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html