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 package | Versions | Reported by |
|---|---|---|
| OpenSSL OpenSSL | 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), from 1.1.1 before 1.1.1q, from 3.0.0 before 3.0.5 | CVE List, NVD |
| netapp ontap_antivirus_connector | 0 | CVE List |
| netapp ontap_select_deploy_administration_utility | 0 | CVE List |
| fedoraproject fedora | 35, 36 | CVE List, NVD |
| netapp active_iq_unified_manager_for_vmware_vsphere | 0 | CVE List |
| netapp hci_baseboard_management_controller | h300s, h410c, h410s, h500s, h700s | CVE List |
| netapp brocade_fabric_operating_system_firmware | 0 | CVE List |
| netapp snapcenter | 0 | CVE List |
| netapp oncommand_insight | 0 | CVE List |
| netapp smi-s_provider | 0 | CVE List |
| siemens sinec_ins | before 1.0_sp2_update_1, before 1.0, 1.0 | CVE List, NVD |
| debian debian_linux | 10.0, 11.0 | CVE List, NVD |
| openssl-src (crates.io) | before 111.22.0, from 300.0.0 before 300.0.9, from 0.0.0-0 before 111.22.0 | GitHub Advisory Database, RustSec Advisory Database |
| netapp active_iq_unified_manager | Not specified | NVD |
| netapp clustered_data_ontap_antivirus_connector | Not specified | NVD |
| netapp h300s_firmware | Not specified | NVD |
| netapp h500s_firmware | Not specified | NVD |
| netapp h700s_firmware | Not specified | NVD |
| netapp h410s_firmware | Not specified | NVD |
| netapp h410c_firmware | Not specified | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-2097 changed 2026-10-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3wx7-46ch-7rq2 changed 2026-09-10 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0032 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2022-2097 changed 2026-10-14 | Public domain |