ADVISORIES

Alpine Security Database

ALPINE-CVE-2022-2097

Details

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 packages

EcosystemPackageAffected versions
Alpine:v3.13openssl
From 1.1.1 before 1.1.1q-r0 (fixed in 1.1.1q-r0)
Alpine:v3.14openssl
From 1.1.1 before 1.1.1q-r0 (fixed in 1.1.1q-r0)
Alpine:v3.15openssl
From 1.1.1 before 1.1.1q-r0 (fixed in 1.1.1q-r0)
Alpine:v3.16openssl
From 1.1.1 before 1.1.1q-r0 (fixed in 1.1.1q-r0)
Alpine:v3.17openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.18openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.19openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.20openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.21openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.22openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.23openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.24openssl
From 3.0.0 before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.17openssl1.1-compat
All versions before 1.1.1q-r0 (fixed in 1.1.1q-r0)
Alpine:v3.18openssl1.1-compat
All versions before 1.1.1q-r0 (fixed in 1.1.1q-r0)
Alpine:v3.15openssl3
All versions before 3.0.5-r0 (fixed in 3.0.5-r0)
Alpine:v3.16openssl3
All versions before 3.0.5-r0 (fixed in 3.0.5-r0)

References