CVE-2022-2097

HIGH7.5EPSS 0.51%

AES OCB fails to encrypt some bytes

Published: 7/6/2022Modified: 11/8/2023
Also known as:GHSA-3wx7-46ch-7rq2DSA-5343-1ALPINE-CVE-2022-2097CGA-mwhc-9qv9-2p32DEBIAN-CVE-2022-2097DEBIAN-CVE-2022-4304DEBIAN-CVE-2022-4450DEBIAN-CVE-2023-0215DEBIAN-CVE-2023-0286RUSTSEC-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.

Affected packages (7)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References (24)