CVE-2022-2097
MEDIUM 5.3CVSS 3.1AES 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).
- Published
- 5 Jul 2022
- Last modified
- 14 Oct 2026
- Assigned by
- openssl-security@openssl.org
- NVD status
- Modified
- Weakness
- CWE-311CWE-326CWE-327
- Also known as
- GHSA-3wx7-46ch-7rq2RUSTSEC-2022-0032
- Sources
- NVDJSONOSV GHSA-3wx7-46ch-7rq2JSONOSV RUSTSEC-2022-0032JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 1.1.1, < 1.1.1q | 1.1.1q |
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.5 | 3.0.5 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | clustered_data_ontap_antivirus_connectorcpe:2.3:a:netapp:clustered_data_ontap_antivirus_connector:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h300s_firmwarecpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h500s_firmwarecpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h700s_firmwarecpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h410s_firmwarecpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h410c_firmwarecpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:*:*:*:*:*:*:*:* |
< 1.0 | 1.0 |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:* |
= 1.0 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:* |
= 1.0 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:sp2:*:*:*:*:*:* |
= 1.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | crates.io | openssl-src | < 111.22.0 | 111.22.0 |
| OSV | crates.io | openssl-src | >= 300.0.0, < 300.0.9 | 300.0.9 |
| OSV | crates.io | openssl-src | >= 0.0.0-0, < 111.22.0; >= 300.0.0, < 300.0.9 | 111.22.0, 300.0.9 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf · Third Party Advisory, WEB
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=919925673d6c9cfed3c1085497f5dfbbed5fc431 · WEB
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a98f339ddd7e8f487d6e0088d4a9a42324885a93 · WEB
- https://lists.debian.org/debian-lts-announce/2023/02/msg00019.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/ · WEB
- https://security.gentoo.org/glsa/202210-02 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220715-0011/ · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230420-0008/ · WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · WEB
- https://www.debian.org/security/2023/dsa-5343 · Third Party Advisory, WEB
- https://www.openssl.org/news/secadv/20220705.txt · Vendor Advisory, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-332410.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-2097 · ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2022-0032.html · WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK · WEB
- https://github.com/alexcrichton/openssl-src-rs · PACKAGE
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=a98f339ddd7e8f487d6e0088d4a9a42324885a93 · WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=919925673d6c9cfed3c1085497f5dfbbed5fc431 · WEB
- https://crates.io/crates/openssl-src · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 5 Jul 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jul 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2022)