---
title: "CVE-2022-2097"
canonical_url: "https://pkgseek.com/security/CVE-2022-2097"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2022-2097

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

CVE-2022-2097 is rated MEDIUM (5.3), with 25 indexed affected package builds across 4 distributions.

- **Severity / Score**: MEDIUM (5.3)
- **Affected builds**: 25
- **Affected distros**: 4
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | openssl | 1:1.1.1k-5.0.2.al8 | 1:1.1.1k-7.0.1.al8 |
| Alibaba Cloud Linux | 3 | openssl-devel | 1:1.1.1k-5.0.2.al8 | 1:1.1.1k-7.0.1.al8 |
| Alibaba Cloud Linux | 3 | openssl-libs | 1:1.1.1k-5.0.2.al8 | 1:1.1.1k-7.0.1.al8 |
| Alibaba Cloud Linux | 3 | openssl-perl | 1:1.1.1k-5.0.2.al8 | 1:1.1.1k-7.0.1.al8 |
| Alibaba Cloud Linux | 3 | openssl-static | 1:1.1.1k-5.0.2.al8 | 1:1.1.1k-7.0.1.al8 |
| Oracle Linux | 8 | openssl | 1:1.1.1k-6.el8_5 | 1:1.1.1k-7.el8_6 |
| Oracle Linux | 8 | openssl-devel | 1:1.1.1k-6.el8_5 | 1:1.1.1k-7.el8_6 |
| Oracle Linux | 8 | openssl-libs | 1:1.1.1k-6.el8_5 | 1:1.1.1k-7.el8_6 |
| Oracle Linux | 8 | openssl-perl | 1:1.1.1k-6.el8_5 | 1:1.1.1k-7.el8_6 |
| Oracle Linux | 9 | openssl | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-devel | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-libs | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-perl | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | openssl | 1:3.0.1-23.el9_0 | 1:3.0.1-41.el9_0 |
| Red Hat Enterprise Linux | 9.8 | openssl-devel | 1:3.0.1-23.el9_0 | 1:3.0.1-41.el9_0 |
| Red Hat Enterprise Linux | 9.8 | openssl-libs | 1:3.0.1-23.el9_0 | 1:3.0.1-41.el9_0 |
| Red Hat Enterprise Linux | 9.8 | openssl-perl | 1:3.0.1-23.el9_0 | 1:3.0.1-41.el9_0 |
| Ubuntu | focal | libssl1.1 | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.16 |
| Ubuntu | focal | libssl-dev | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.16 |
| Ubuntu | focal | libssl-doc | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.16 |
| Ubuntu | focal | openssl | 1.1.1f-1ubuntu2 | 1.1.1f-1ubuntu2.16 |
| Ubuntu | jammy | libssl3 | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.6 |
| Ubuntu | jammy | libssl-dev | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.6 |
| Ubuntu | jammy | libssl-doc | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.6 |
| Ubuntu | jammy | openssl | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.6 |
