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.0: 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/E:U/U:Green
CVE-ID: CVE-2012-0219
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: www.dest-unreach.org
Affected software:
socat

Detailed vulnerability description

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.


How to mitigate CVE-2012-0219

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

Sources