RUSTSEC-2022-0033

Source
https://rustsec.org/advisories/RUSTSEC-2022-0033
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0033.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2022-0033
Aliases
Published
2022-07-05T12:00:00Z
Modified
2023-11-08T04:08:13.343319Z
Summary
Heap memory corruption with RSA private key operation
Details

The OpenSSL 3.0.4 release introduced a serious bug in the RSA implementation for X86_64 CPUs supporting the AVX512IFMA instructions. This issue makes the RSA implementation with 2048 bit private keys incorrect on such machines and memory corruption will happen during the computation. As a consequence of the memory corruption an attacker may be able to trigger a remote code execution on the machine performing the computation.

SSL/TLS servers or other servers using 2048 bit RSA private keys running on machines supporting AVX512IFMA instructions of the X86_64 architecture are affected by this issue.

Note that on a vulnerable machine, proper testing of OpenSSL would fail and should be noticed before deployment.

References

Affected packages

crates.io / openssl-src

Package

Affected ranges

Type
SEMVER
Events
Introduced
300.0.8
Fixed
300.0.9

Ecosystem specific

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

Database specific

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