Buffer overflow in OpenSSL - CVE-2012-2110

 

Buffer overflow in OpenSSL - CVE-2012-2110

Published: April 19, 2012 / Updated: July 29, 2020


Vulnerability identifier: #VU32816
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-2110
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The asn1_d2i_read_bio function in crypto/asn1/a_d2i_fp.c in OpenSSL before 0.9.8v, 1.0.0 before 1.0.0i, and 1.0.1 before 1.0.1a does not properly interpret integer data, which allows remote attackers to conduct buffer overflow attacks, and cause a denial of service (memory corruption) or possibly have unspecified other impact, via crafted DER data, as demonstrated by an X.509 certificate or an RSA public key.


Affected software

OpenSSL
Amazon Linux AMI
SUSE Linux
openssl (Alpine package)

How to mitigate CVE-2012-2110

Install update from vendor's website.

OpenSSL - addressed in versions 0.9.8v, 1.0.1a
openssl (Alpine package) - update to 1.0.0i-r0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins