CVE-2022-2097
HIGH7.5EPSS 0.51%AES OCB fails to encrypt some bytes
Published: 7/6/2022Modified: 11/8/2023
Also known as:GHSA-3wx7-46ch-7rq2DSA-5343-1ALPINE-CVE-2022-2097CGA-mwhc-9qv9-2p32DEBIAN-CVE-2022-2097DEBIAN-CVE-2022-4304DEBIAN-CVE-2022-4450DEBIAN-CVE-2023-0215DEBIAN-CVE-2023-0286RUSTSEC-2022-0032
Description
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.
Affected packages (7)
- Alpine/opensslfrom 0, < 1.1.1q-r0
- Alpine/openssl3from 0, < 3.0.5-r0
- crates.io/openssl-src>= 0.0.0-0, < 111.22.0, >= 300.0.0, < 300.0.9
- crates.io/openssl-srcfrom 0, < 111.22.0
- Debian/opensslfrom 0, < 1.1.1n-0+deb10u4
- Debian/opensslfrom 0, < 1.1.1n-0+deb11u4
- Debian/opensslfrom 0, < 1.1.1n-0+deb11u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (24)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-2097
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-2097
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-2097
- PATCHhttps://crates.io/crates/openssl-src
- PATCHhttps://github.com/alexcrichton/openssl-src-rs
- WEBhttps://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- WEBhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=919925673d6c9cfed3c1085497f5dfbbed5fc431
- WEBhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a98f339ddd7e8f487d6e0088d4a9a42324885a93
- WEBhttps://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=919925673d6c9cfed3c1085497f5dfbbed5fc431
- WEBhttps://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=a98f339ddd7e8f487d6e0088d4a9a42324885a93
- WEBhttps://lists.debian.org/debian-lts-announce/2023/02/msg00019.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA
- WEBhttps://rustsec.org/advisories/RUSTSEC-2022-0032.html
- WEBhttps://security.gentoo.org/glsa/202210-02
- WEBhttps://security.netapp.com/advisory/ntap-20220715-0011
- WEBhttps://security.netapp.com/advisory/ntap-20230420-0008
- WEBhttps://security.netapp.com/advisory/ntap-20240621-0006
- WEBhttps://www.debian.org/security/2023/dsa-5343
- WEBhttps://www.openssl.org/news/secadv/20220705.txt