Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl-src
  4. ›
  5. CVE-2022-2274

CVE-2022-2274: openssl-src heap memory corruption with RSA private key operation

July 2, 2022 (updated June 13, 2023)

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.

References

  • git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=4d8a88c134df634ba610ff8db1eb8478ac5fd345
  • github.com/advisories/GHSA-735f-pg76-fxc4
  • github.com/openssl/openssl/issues/18625
  • nvd.nist.gov/vuln/detail/CVE-2022-2274
  • rustsec.org/advisories/RUSTSEC-2022-0033.html
  • security.netapp.com/advisory/ntap-20220715-0010
  • www.openssl.org/news/secadv/20220705.txt

Code Behaviors & Features

Detect and mitigate CVE-2022-2274 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 300.0.8 before 300.0.9

Fixed versions

  • 300.0.9

Solution

Upgrade to version 300.0.9 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

cargo/openssl-src/CVE-2022-2274.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.