CVE-2022-2274
Heap memory corruption with RSA private key operation
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. Note that on a vulnerable machine, proper testing of OpenSSL would fail and should be noticed before deployment.
How to fix CVE-2022-2274
To remediate CVE-2022-2274, upgrade the affected package to a fixed version below.
- —upgrade to 0 or later
- —upgrade to 300.0.9 or later
- —upgrade to 300.0.9 or later
- —upgrade to 3.0.4-2 or later
Is CVE-2022-2274 being exploited?
Moderate — EPSS is 39.7%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (4)
- from 0, < 0
- >= 300.0.8, < 300.0.9
- >= 300.0.8, < 300.0.9
- from 0, < 3.0.4-2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |