RUSTSEC-2022-0032

Source
https://rustsec.org/advisories/RUSTSEC-2022-0032
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0032.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2022-0032
Aliases
Published
2022-07-05T12:00:00Z
Modified
2023-11-08T04:08:03.731927Z
Summary
AES OCB fails to encrypt some bytes
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.

References

Affected packages

crates.io / openssl-src

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
111.22.0
Introduced
300.0.0
Fixed
300.0.9

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "crypto-failure"
    ]
}