Heap-based buffer overflow in socat - CVE-2012-0219

 

Heap-based buffer overflow in socat - CVE-2012-0219

Published: June 21, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43968
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0219
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit 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 Heap-based buffer overflow in the xioscan_readline function in xio-readline.c in socat 1.4.0.0 through 1.7.2.0 and 2.0.0-b1 through 2.0.0-b4. A remote attacker can use the READLINE address. to trigger 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.


Affected software

socat
Amazon Linux AMI
Gentoo Linux
Fedora
socat

How to mitigate CVE-2012-0219

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

socat - addressed in versions 1.7.2.1-1.el5, 1.7.2.1-1.el6

External References

Related Security Bulletins