CVE-2022-2097AES OCB fails to encrypt some bytes
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).
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu, crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | nodejs | Fixed | 12.22.9~dfsg-1ubuntu3.1 | UBUNTU-CVE-2022-2097 |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.6 | UBUNTU-CVE-2022-2097 |
| Ubuntu 20.04 | openssl | Fixed | 1.1.1f-1ubuntu2.16 | UBUNTU-CVE-2022-2097 |
| Ubuntu 18.04 | openssl | Fixed | 1.1.1-1ubuntu2.1~18.04.20 | UBUNTU-CVE-2022-2097 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2022-2097 | |
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Debian 14 | openssl | Fixed | 3.0.5-1 | DEBIAN-CVE-2022-2097 |
| Debian 13 | openssl | Fixed | 3.0.5-1 | DEBIAN-CVE-2022-2097 |
| Debian 12 | openssl | Fixed | 3.0.5-1 | DEBIAN-CVE-2022-2097 |
| Red Hat Enterprise Linux 9 | compat-openssl11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux 9 | shim | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl | Fixed | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux 8 | openssl-devel | Fixed | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux 8 | openssl-libs | Fixed | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux 8 | openssl-perl | Fixed | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux 8 | shim | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 7 | AAVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | OVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl098e | Not affected | ||
| Red Hat Enterprise Linux 7 | ovmf | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl098e | Not affected | ||
| AlmaLinux 9 | openssl | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux 8 | openssl | Fixed | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| AlmaLinux 8 | openssl-devel | Fixed | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| AlmaLinux 8 | openssl-libs | Fixed | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| AlmaLinux 8 | openssl-perl | Fixed | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| Rocky Linux 8 | openssl | Fixed | 1:1.1.1k-7.el8_6 | RLSA-2022:5818 |
| Alpine Linux 3.24 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.23 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.22 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.21 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.20 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.19 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.18 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.18 | openssl1.1-compat | Fixed | 1.1.1q-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.17 | openssl1.1-compat | Fixed | 1.1.1q-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.16 | openssl | Fixed | 1.1.1q-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.16 | openssl3 | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.15 | openssl | Fixed | 1.1.1q-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.15 | openssl3 | Fixed | 3.0.5-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.14 | openssl | Fixed | 1.1.1q-r0 | ALPINE-CVE-2022-2097 |
| Alpine Linux 3.13 | openssl | Fixed | 1.1.1q-r0 | ALPINE-CVE-2022-2097 |
| crates.io library | openssl-src | Fixed | 300.0.9 | RUSTSEC-2022-0032 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 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)
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202210-02 (vendor-advisory)
- https://www.debian.org/security/2023/dsa-5343 (vendor-advisory)
References
- 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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.