CVE-2022-2097
CVE-2022-2097 · AES OCB fails to encrypt some bytes
This page contains facts from public vulnerability sources. Check the original advisory before updating.
AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised implementation will not encrypt the entirety of the data under some circumstances. This could reveal sixteen bytes of data that was preexisting in the memory that wasn't written. In the special case of "in place" encryption, sixteen bytes of the plaintext would be revealed. Since OpenSSL does not support OCB based cipher suites for TLS and DTLS, they are both unaffected. Fixed in OpenSSL 3.0.5 (Affected 3.0.0-3.0.4). Fixed in OpenSSL 1.1.1q (Affected 1.1.1-1.1.1p).
CVSS 5.3 · Medium · EPSS 4.9% · Fix available
- Published
- Updated
Affected products and versions
openssl
- Versions
- Fixed in OpenSSL 3.0.5 (Affected 3.0.0-3.0.4): Affected
- Fixed in OpenSSL 1.1.1q (Affected 1.1.1-1.1.1p): Affected
No fix published
openssl Debian:12
- Affected ranges
- ECOSYSTEM: < 3.0.5-1
Update to 3.0.5-1
openssl Debian:13
- Affected ranges
- ECOSYSTEM: < 3.0.5-1
Update to 3.0.5-1
openssl Debian:14
- Affected ranges
- ECOSYSTEM: < 3.0.5-1
Update to 3.0.5-1
edk2 Ubuntu:Pro:16.04:LTS
- Versions
- 0~20150106.5c2d456b-2
- 0~20160104.c2a892d7-1
- 0~20160408.ffea0a2c-2
- 0~20160408.ffea0a2c-2ubuntu0.1
- 0~20160408.ffea0a2c-2ubuntu0.2
- 0~20160408.ffea0a2c-2ubuntu0.2+esm1
- 0~20160408.ffea0a2c-2ubuntu0.2+esm3
- 0~20160408.ffea0a2c-2ubuntu0.2+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:18.04:LTS
- Versions
- 1.0.2g-1ubuntu13
- 1.0.2g-1ubuntu14
- 1.0.2n-1ubuntu1
- 1.1.0g-2ubuntu1
- 1.1.0g-2ubuntu2
- 1.1.0g-2ubuntu3
- 1.1.0g-2ubuntu4
- 1.1.0g-2ubuntu4.1
- 1.1.0g-2ubuntu4.3
- 1.1.1-1ubuntu2.1~18.04.1
- 1.1.1-1ubuntu2.1~18.04.2
- 1.1.1-1ubuntu2.1~18.04.3
- 1.1.1-1ubuntu2.1~18.04.4
- 1.1.1-1ubuntu2.1~18.04.5
- 1.1.1-1ubuntu2.1~18.04.6
- 1.1.1-1ubuntu2.1~18.04.7
- 1.1.1-1ubuntu2.1~18.04.8
- 1.1.1-1ubuntu2.1~18.04.9
- 1.1.1-1ubuntu2.1~18.04.10
- 1.1.1-1ubuntu2.1~18.04.13
- 1.1.1-1ubuntu2.1~18.04.14
- 1.1.1-1ubuntu2.1~18.04.15
- 1.1.1-1ubuntu2.1~18.04.17
- 1.1.1-1ubuntu2.1~18.04.19
- Affected ranges
- ECOSYSTEM: < 1.1.1-1ubuntu2.1~18.04.20
Update to 1.1.1-1ubuntu2.1~18.04.20
openssl Ubuntu:Pro:FIPS-updates:18.04:LTS
- Versions
- 1.1.1-1ubuntu2.fips.2.1~18.04.5.1
- 1.1.1-1ubuntu2.fips.2.1~18.04.6.1
- 1.1.1-1ubuntu2.fips.2.1~18.04.7.1
- 1.1.1-1ubuntu2.fips.2.1~18.04.9.1
- 1.1.1-1ubuntu2.fips.2.1~18.04.9.2
- 1.1.1-1ubuntu2.fips.2.1~18.04.9.3
- 1.1.1-1ubuntu2.fips.2.1~18.04.13.2
- 1.1.1-1ubuntu2.fips.2.1~18.04.15
- 1.1.1-1ubuntu2.fips.2.1~18.04.15.1
- 1.1.1-1ubuntu2.fips.2.1~18.04.15.2
- 1.1.1-1ubuntu2.fips.2.1~18.04.17
- Affected ranges
- ECOSYSTEM: < 1.1.1-1ubuntu2.fips.2.1~18.04.20
Update to 1.1.1-1ubuntu2.fips.2.1~18.04.20
openssl Ubuntu:Pro:FIPS:18.04:LTS
- Versions
- 1.1.1-1ubuntu2.fips.2.1~18.04.3.1
- 1.1.1-1ubuntu2.fips.2.1~18.04.15.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:20.04:LTS
- Versions
- 1.1.1c-1ubuntu4
- 1.1.1d-2ubuntu3
- 1.1.1d-2ubuntu6
- 1.1.1f-1ubuntu1
- 1.1.1f-1ubuntu2
- 1.1.1f-1ubuntu2.1
- 1.1.1f-1ubuntu2.2
- 1.1.1f-1ubuntu2.3
- 1.1.1f-1ubuntu2.4
- 1.1.1f-1ubuntu2.5
- 1.1.1f-1ubuntu2.8
- 1.1.1f-1ubuntu2.9
- 1.1.1f-1ubuntu2.10
- 1.1.1f-1ubuntu2.11
- 1.1.1f-1ubuntu2.12
- 1.1.1f-1ubuntu2.13
- 1.1.1f-1ubuntu2.15
- Affected ranges
- ECOSYSTEM: < 1.1.1f-1ubuntu2.16
Update to 1.1.1f-1ubuntu2.16
openssl Ubuntu:Pro:FIPS-updates:20.04:LTS
- Versions
- 1.1.1f-1ubuntu2.fips.7
- 1.1.1f-1ubuntu2.fips.7.2
- 1.1.1f-1ubuntu2.fips.12
- 1.1.1f-1ubuntu2.fips.13
- 1.1.1f-1ubuntu2.fips.13.1
- Affected ranges
- ECOSYSTEM: < 1.1.1f-1ubuntu2.fips.16
Update to 1.1.1f-1ubuntu2.fips.16
openssl Ubuntu:Pro:FIPS:20.04:LTS
- Versions
- 1.1.1f-1ubuntu2.fips.2.8
- 1.1.1f-1ubuntu2.fips.7.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nodejs Ubuntu:22.04:LTS
- Versions
- 12.22.5~dfsg-5ubuntu1
- 12.22.7~dfsg-2ubuntu1
- 12.22.7~dfsg-2ubuntu3
- 12.22.9~dfsg-1ubuntu2
- 12.22.9~dfsg-1ubuntu3
- Affected ranges
- ECOSYSTEM: < 12.22.9~dfsg-1ubuntu3.1
Update to 12.22.9~dfsg-1ubuntu3.1
openssl Ubuntu:22.04:LTS
- Versions
- 1.1.1l-1ubuntu1
- 3.0.0-1ubuntu1
- 3.0.1-0ubuntu1
- 3.0.2-0ubuntu1
- 3.0.2-0ubuntu1.1
- 3.0.2-0ubuntu1.2
- 3.0.2-0ubuntu1.4
- 3.0.2-0ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 3.0.2-0ubuntu1.6
Update to 3.0.2-0ubuntu1.6
Original sources
- https://www.openssl.org/news/secadv/20220705.txt
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a98f339ddd7e8f487d6e0088d4a9a42324885a93
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=919925673d6c9cfed3c1085497f5dfbbed5fc431
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK/
- https://security.netapp.com/advisory/ntap-20220715-0011/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/
- https://security.gentoo.org/glsa/202210-02
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- https://www.debian.org/security/2023/dsa-5343
- https://lists.debian.org/debian-lts-announce/2023/02/msg00019.html
- https://security.netapp.com/advisory/ntap-20230420-0008/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://cert-portal.siemens.com/productcert/html/ssa-332410.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-2097