CVE-2021-33560 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 appr...
HighCVSS 7.5
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
36 packages: 28 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libgcrypt20(Ubuntu Pro FIPS 18.04) | = 1.8.1-4ubuntu1.fips.2.4; = 1.8.1-4ubuntu1.fips.2.5; All versions | No fix listed | No fix yet |
| alpine/libgcrypt(Alpine v3.11) | < 1.8.8-r0 | 1.8.8-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.12) | < 1.8.8-r0 | 1.8.8-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.13) | < 1.8.8-r0 | 1.8.8-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.14) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.15) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.16) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.17) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.18) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.19) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.20) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.21) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.22) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.23) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| alpine/libgcrypt(Alpine v3.24) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 | Fixed |
| debian/libgcrypt20(Debian 12) | < 1.9.4-2 | 1.9.4-2 | Fixed |
| debian/libgcrypt20(Debian 13) | < 1.9.4-2 | 1.9.4-2 | Fixed |
| debian/libgcrypt20(Debian 14) | < 1.9.4-2 | 1.9.4-2 | Fixed |
| gnupg Libgcrypt | < 1.8.8; >= 1.9.0, < 1.9.3 | 1.8.8, 1.9.3 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| ubuntu/libgcrypt20(Ubuntu 18.04) | < 1.8.1-4ubuntu1.3; = 1.7.8-2ubuntu1; = 1.7.9-1; = 1.8.1-4 +3 more | 1.8.1-4ubuntu1.3 | Fixed |
| ubuntu/libgcrypt20(Ubuntu 20.04) | < 1.8.5-5ubuntu1.1; = 1.8.4-5ubuntu2; = 1.8.5-3ubuntu1; = 1.8.5-5ubuntu1 | 1.8.5-5ubuntu1.1 | Fixed |
| ubuntu/libgcrypt20(Ubuntu 22.04) | < 1.8.7-5ubuntu2 | 1.8.7-5ubuntu2 | Fixed |
| ubuntu/libgcrypt20(Ubuntu Pro 16.04) | < 1.6.5-2ubuntu0.6+esm1; = 1.6.3-2ubuntu1; = 1.6.4-3; = 1.6.4-4 +7 more | 1.6.5-2ubuntu0.6+esm1 | Fixed |
| ubuntu/libgcrypt20(Ubuntu Pro FIPS 20.04) | < 1.8.5-5ubuntu1.fips.1.1 | 1.8.5-5ubuntu1.fips.1.1 | Fixed |
| ubuntu/libgcrypt20(Ubuntu Pro FIPS-updates 18.04) | < 1.8.1-4ubuntu1.fips.3; = 1.8.1-4ubuntu1.fips.2.4; = 1.8.1-4ubuntu1.fips.2.5 | 1.8.1-4ubuntu1.fips.3 | Fixed |
| ubuntu/libgcrypt20(Ubuntu Pro FIPS-updates 20.04) | < 1.8.5-5ubuntu1.fips.1.1 | 1.8.5-5ubuntu1.fips.1.1 | Fixed |
| debian linux | = 9.0 | No fix listed | Versions listed |
… and 6 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libgcrypt20(Debian:12) | < 1.9.4-2 | 1.9.4-2 |
| debian/libgcrypt20(Debian:13) | < 1.9.4-2 | 1.9.4-2 |
| debian/libgcrypt20(Debian:14) | < 1.9.4-2 | 1.9.4-2 |
| ubuntu/libgcrypt20(Ubuntu:22.04) | < 1.8.7-5ubuntu2 | 1.8.7-5ubuntu2 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| gnupg Libgcrypt | < 1.8.8 | 1.8.8 |
| gnupg Libgcrypt | >= 1.9.0, < 1.9.3 | 1.9.3 |
| debian linux | = 9.0 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| oracle communications cloud native core binding support function | = 1.11.0 | No fix listed |
| oracle communications cloud native core network function cloud native environment | = 1.9.0 | No fix listed |
| oracle communications cloud native core network function cloud native environment | = 1.10.0 | No fix listed |
| oracle communications cloud native core network repository function | = 1.14.0 | No fix listed |
| oracle communications cloud native core network repository function | = 1.15.0 | No fix listed |
| oracle communications cloud native core network repository function | = 1.15.1 | No fix listed |
| oracle communications cloud native core network slice selection function | = 1.8.0 | No fix listed |
| oracle communications cloud native core service communication proxy | = 1.15.0 | No fix listed |
| alpine/libgcrypt(Alpine:v3.11) | < 1.8.8-r0 | 1.8.8-r0 |
| alpine/libgcrypt(Alpine:v3.12) | < 1.8.8-r0 | 1.8.8-r0 |
| alpine/libgcrypt(Alpine:v3.13) | < 1.8.8-r0 | 1.8.8-r0 |
| alpine/libgcrypt(Alpine:v3.14) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.15) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
Show 39 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/libgcrypt(Alpine:v3.16) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.17) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.18) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.19) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.20) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.21) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.22) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.23) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| alpine/libgcrypt(Alpine:v3.24) | >= 1.9.0, < 1.9.4-r0 | 1.9.4-r0 |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | < 1.6.5-2ubuntu0.6+esm1 | 1.6.5-2ubuntu0.6+esm1 |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.3-2ubuntu1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.4-3 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.4-4 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.4-5 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.5-2 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.5-2ubuntu0.2 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.5-2ubuntu0.3 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.5-2ubuntu0.4 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.5-2ubuntu0.5 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:16.04) | = 1.6.5-2ubuntu0.6 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:18.04) | < 1.8.1-4ubuntu1.3 | 1.8.1-4ubuntu1.3 |
| ubuntu/libgcrypt20(Ubuntu:18.04) | = 1.7.8-2ubuntu1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:18.04) | = 1.7.9-1 | No fix listed |
| 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:18.04) | = 1.8.1-4ubuntu1.2 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS-updates:18.04) | < 1.8.1-4ubuntu1.fips.3 | 1.8.1-4ubuntu1.fips.3 |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS-updates:18.04) | = 1.8.1-4ubuntu1.fips.2.4 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS-updates:18.04) | = 1.8.1-4ubuntu1.fips.2.5 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS:18.04) | All versions | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS:18.04) | = 1.8.1-4ubuntu1.fips.2.4 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS:18.04) | = 1.8.1-4ubuntu1.fips.2.5 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:20.04) | < 1.8.5-5ubuntu1.1 | 1.8.5-5ubuntu1.1 |
| ubuntu/libgcrypt20(Ubuntu:20.04) | = 1.8.4-5ubuntu2 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:20.04) | = 1.8.5-3ubuntu1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:20.04) | = 1.8.5-5ubuntu1 | No fix listed |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS-updates:20.04) | < 1.8.5-5ubuntu1.fips.1.1 | 1.8.5-5ubuntu1.fips.1.1 |
| ubuntu/libgcrypt20(Ubuntu:Pro:FIPS:20.04) | < 1.8.5-5ubuntu1.fips.1.1 | 1.8.5-5ubuntu1.fips.1.1 |
References
- Debian Security Tracker CVE-2021-33560 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5080-1 vendor-advisory
- USN-5080-2 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- dev.gnupg.org vendor-advisory
- [debian-lts-announce] 20210624 [SECURITY] [DLA 2691-1] libgcrypt20 security update mailing-list third-party-advisory
- FEDORA-2021-24d4e06195 vendor-advisory
- FEDORA-2021-31fdc84207 vendor-advisory
- www.oracle.com third-party-advisory
- dev.gnupg.org release-notes vendor-advisory
- dev.gnupg.org release-notes vendor-advisory
- dev.gnupg.org patch vendor-advisory
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- GLSA-202210-13 third-party-advisory vendor-advisory
- cert-portal.siemens.com
- eprint.iacr.org issue-tracking
- ENISA EUVD EUVD-2021-20252 third-party-advisory