CVE-2022-2274 RSA implementation bug in AVX512IFMA instructions
A bug in OpenSSL's RSA implementation on AVX512IFMA CPUs causes memory corruption, potentially allowing remote code execution on affected servers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-2274?
CVE-2022-2274 is a critical memory corruption vulnerability in Netapp H300s Firmware, published on 1 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2022-2274?
3 open source packages ship an affected version, including openssl-src. It affects 7 products.
| Package | Affected | Fixed in |
|---|---|---|
openssl-src crates.io | From 300.0.8 | 300.0.9 |
openssl-src crates.io | From 300.0.8 | 300.0.9 |
openssl-src crates.io | From 300.0.8 | 300.0.9 |
Linux distribution packages (1)
openssh openSUSE:Tumbleweed | All versions | 9.3p1-1.1 |
Products include Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500s Firmware, Netapp H700s Firmware, Netapp Snapcenter and 1 more.
How do I fix CVE-2022-2274?
Upgrade openssl-src to 300.0.9 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-2274 being exploited?
There is no known exploitation of CVE-2022-2274 in the wild and no public exploit code.
Public exploit code: 3 proofs of concept on GitHub.
Other vulnerabilities in Netapp H300s Firmware
Sources
Also known as DEBIAN-CVE-2022-2274, GHSA-735f-pg76-fxc4, RUSTSEC-2022-0033, UBUNTU-CVE-2022-2274, openSUSE-SU-2024:12983-1.