IronCoreLabs / ironoxide

Rust SDK for IronCore Privacy Platform
https://docs.rs/ironoxide
GNU Affero General Public License v3.0
10 stars 3 forks source link

RUSTSEC-2022-0032: AES OCB fails to encrypt some bytes #276

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

AES OCB fails to encrypt some bytes

Details
Package openssl-src
Version 111.21.0+1.1.1p
URL https://www.openssl.org/news/secadv/20220705.txt
Date 2022-07-05
Patched versions >=111.22, <300.0,>=300.0.9

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.

See advisory page for additional details.