Advisory

GHSA-735f-pg76-fxc4

Also known as: CVE-2022-2274, RUSTSEC-2022-0033

Summary

openssl-src 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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-07-02 00:00 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

openssl-src

crates.io · All systems

Affected

  • introduced 300.0.8, fixed 300.0.9 (semver)

Fixed versions

300.0.9

Fix

  • Fixed version 300.0.9
    cargo update -p openssl-src --precise 300.0.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences