Heap-based buffer overflow in OpenSSL - CVE-2022-2274

 

Heap-based buffer overflow in OpenSSL - CVE-2022-2274

Published: July 5, 2022 / Updated: September 25, 2022


Vulnerability identifier: #VU64921
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-2274
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the RSA implementation for X86_64 CPUs supporting the AVX512IFMA instructions. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

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.


Affected software

OpenSSL
JD Edwards World Security
JD Edwards EnterpriseOne Tools
Oracle Solaris
Slackware Linux
Junos OS
Oracle HTTP Server
Oracle Essbase
Oracle Siebel CRM
SINEC INS

How to mitigate CVE-2022-2274

Install updates from vendor's website.

OpenSSL - update to 3.0.5
JD Edwards EnterpriseOne Tools - update to 9.2.7.3
Junos OS - addressed in versions 22.1R3, 22.2R2, 22.3R1, 22.3R2
SINEC INS - update to 1.0 SP2 Update 1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins