GitHub Advisoryadvisory · crates.io

GHSA-735f-pg76-fxc4 openssl-src heap memory corruption with RSA private key operation

CRITICAL Published 2022-07-02 Modified 2023-06-13 Official page ↗
Aliases
CVE-2022-2274
Ecosystem
crates.io
Packages
openssl-src
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787
Reviewed
2022-07-06

Affected packages

• crates.io openssl-src: >= 300.0.8, < 300.0.9 → fixed in 300.0.9

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-2274 The OpenSSL 3.0.4 release introduced a serious bug in the RSA implementation for X86_64 CPUs supporting the AVX512IFMA instructions. vulnerability

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References