~ / search / GHSA-3wx7-46ch-7rq2

GHSA-3wx7-46ch-7rq2

AES OCB fails to encrypt some bytes

Source: GitHub Advisory Database (reviewed) High CVE-2022-2097

Packages

EcosystemPackageAffectedFixed in
crates.io openssl-src < 111.22.0 111.22.0
crates.io openssl-src >= 300.0.0, < 300.0.9 300.0.9

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.