CVE-2022-2097
openssl: AES OCB fails to encrypt some bytes
Overview
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. 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).
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-327
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | openssl-src | <111.22.0>=300.0.0, <300.0.9 | 111.22.0300.0.9 |
| Conan (C/C++) | openssl | >=1.1.1 <1.1.1q||>=3.0.0 <3.0.5 | 1.1.1q3.0.5 |
| Julia | Openresty_jll | >=1.19.9+0, <1.27.1+0 | 1.27.1+0 |
| Julia | OpenSSL_jll | <1.1.17+0 | 1.1.17+0 |
Open a package to see all its vulnerabilities.
Operating systems · 56 fixes
Azure Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | hvloader | 0:1.0.1-2.azl3 |
| 3.0 | edk2 | 0:20240223gitedc6681206c1-1.azl3 |
Oracle Linux 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | graalvm22-ce-11 +41 | 22.3.0-1.el7 |
| 8 | openssl +3 | 1:1.1.1k-7.el8_6 |
| 8 | graalvm22-ce-11 +41 | 22.3.0-1.el8 |
| 8 | openssl +5 | 2:1.1.1k-7.ksplice1.el8_6 |
| 9 | openssl +3 | 1:3.0.1-41.0.1.el9_0 |
| 9 | graalvm22-ce-11 +41 | 22.3.0-1.el9 |
1 more row
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.3-3.ph4 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | aavmf +1 | eol | — |
| 8 | openssl +3 | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| 9 | compat-openssl11 | wont fix | — |
| 9 | openssl +3 | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
SUSE Linux Enterprise 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.69.1 | SUSE-SU-2022:2312-1 |
| 15.4 | libopenssl-1-1-devel +5 | 1.1.1l-150400.7.7.1 | SUSE-SU-2022:2308-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.1-150400.4.7.1 | SUSE-SU-2022:2306-1 |
SUSE Linux Enterprise Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.51.1 | SUSE-SU-2022:2328-1 |
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.51.1 | SUSE-SU-2022:2328-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-7.el8_6 |
| 9 | openssl +3 | 1:3.0.1-41.el9_0 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.0.5-r0 |
| 3.23 | openssl | 3.0.5-r0 |
| 3.24 | openssl | 3.0.5-r0 |
| edge | openssl | 3.0.5-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.8-1.amzn2023.0.1 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl | 1.1.1n-0+deb10u4 |
| 11 | openssl | 1.1.1n-0+deb11u4 |
| 12 | openssl | 3.0.5-1 |
| 13 | openssl | 3.0.5-1 |
| 14 | openssl | 3.0.5-1 |
echo 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.5-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-1-1-devel +7 | 1.1.1q-1.1 | openSUSE-SU-2024:12179-1 |
| Tumbleweed | libopenssl-3-devel +5 | 3.0.5-1.1 | openSUSE-SU-2024:12204-1 |
openSUSE Leap Micro 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.51.1 | openSUSE-SU-2022:2328-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-7.el8_6 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.0.5-r0 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1n-0+deb11u4 |
| 12 | rootio-openssl | 3.0.5-1 |
seal Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 7 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | openssl | 1.1.1-1ubuntu2.1~18.04.20 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.20 |
| 20.04 | openssl | 1.1.1f-1ubuntu2.16 |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.16 |
| 22.04 | nodejs | 12.22.9~dfsg-1ubuntu3.1 |
| 22.04 | openssl | 3.0.2-0ubuntu1.6 |
2 more rows
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:6224
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-2097
- bugzilla.redhat.com https://bugzilla.redhat.com/2081494
- bugzilla.redhat.com https://bugzilla.redhat.com/2087911
- bugzilla.redhat.com https://bugzilla.redhat.com/2087913
- bugzilla.redhat.com https://bugzilla.redhat.com/2097310
- bugzilla.redhat.com https://bugzilla.redhat.com/2104905
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2081494
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2097310
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2100554
Show all 56 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2104905
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-332410.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1292
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2068
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2097
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-6224.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:5818
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=919925673d6c9cfed3c1085497f5dfbbed5fc431
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a98f339ddd7e8f487d6e0088d4a9a42324885a93
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=919925673d6c9cfed3c1085497f5dfbbed5fc431
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=a98f339ddd7e8f487d6e0088d4a9a42324885a93
- github.com https://github.com/advisories/GHSA-3wx7-46ch-7rq2
- github.com https://github.com/alexcrichton/openssl-src-rs
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-2097.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9955.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/02/msg00019.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-2097
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2022-0032.html
- security.gentoo.org https://security.gentoo.org/glsa/202210-02
- security.netapp.com https://security.netapp.com/advisory/ntap-20220715-0011
- security.netapp.com https://security.netapp.com/advisory/ntap-20220715-0011/
- security.netapp.com https://security.netapp.com/advisory/ntap-20230420-0008
- security.netapp.com https://security.netapp.com/advisory/ntap-20230420-0008/
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-5502-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6457-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-2097
- www.debian.org https://www.debian.org/security/2023/dsa-5343
- www.openssl.org https://www.openssl.org/news/secadv/20220705.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.