CVE-2022-2097
JSON

5.3medium

AES OCB fails to encrypt some bytes

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
4.94% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openssl
Also known as
GHSA-3wx7-46ch-7rq2RUSTSEC-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. 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).

Affected

Product or packageVersionsReported by
OpenSSL OpenSSLFixed 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), from 1.1.1 before 1.1.1q, from 3.0.0 before 3.0.5CVE List, NVD
netapp ontap_antivirus_connector0CVE List
netapp ontap_select_deploy_administration_utility0CVE List
fedoraproject fedora35, 36CVE List, NVD
netapp active_iq_unified_manager_for_vmware_vsphere0CVE List
netapp hci_baseboard_management_controllerh300s, h410c, h410s, h500s, h700sCVE List
netapp brocade_fabric_operating_system_firmware0CVE List
netapp snapcenter0CVE List
netapp oncommand_insight0CVE List
netapp smi-s_provider0CVE List
siemens sinec_insbefore 1.0_sp2_update_1, before 1.0, 1.0CVE List, NVD
debian debian_linux10.0, 11.0CVE List, NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

CWE-311CWE-326CWE-327

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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).

GitHub Advisory Database

AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimized implementation will not encrypt the entirety of the data under some circumstances. This could reveal sixteen bytes of data that was pre-existing 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.

RustSec Advisory Database

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.

NVD (es)

El modo AES OCB para plataformas x86 de 32 bits que utilizan la implementación optimizada de ensamblaje AES-NI no cifrará la totalidad de los datos en algunas circunstancias. Esto podría revelar dieciséis bytes de datos que ya existían en la memoria y que no estaban escritos. En el caso especial del cifrado "in situ", se revelarían dieciséis bytes del texto sin formato. Dado que OpenSSL no es compatible con conjuntos de cifrado basados ??en OCB para TLS y DTLS, ambos no están afectados. Corregido en OpenSSL versión 3.0.5 (Afectado 3.0.0-3.0.4). Corregido en OpenSSL 1.1.1q (Afectado 1.1.1-1.1.1p)

References

https://www.openssl.org/news/secadv/20220705.txtvendor-advisory, web
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a98f339ddd7e8f487d6e0088d4a9a42324885a93web
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=919925673d6c9cfed3c1085497f5dfbbed5fc431web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK/vendor-advisory
https://security.netapp.com/advisory/ntap-20220715-0011/third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/vendor-advisory
https://security.gentoo.org/glsa/202210-02third-party-advisory, vendor-advisory, web
https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfthird-party-advisory, web
https://www.debian.org/security/2023/dsa-5343third-party-advisory, vendor-advisory, web
https://lists.debian.org/debian-lts-announce/2023/02/msg00019.htmlmailing-list, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20230420-0008/

Sources

SourceRecordLicence
CVE ListCVE-2022-2097 changed 2026-10-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-3wx7-46ch-7rq2 changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2022-0032 changed 2023-11-08CC0-1.0
NVDCVE-2022-2097 changed 2026-10-14Public domain