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


| Updated: 2020-08-11

Vulnerability identifier: #VU43968

Vulnerability risk: Medium

CVSSv4.0: 4.8 [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

Exploit availability: No

Vulnerable software:
socat
Other software / Other software solutions

Vendor: www.dest-unreach.org

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.

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

Vulnerable software versions

socat: 1.4.0.0 - 2.0.0


External links
https://lists.fedoraproject.org/pipermail/package-announce/2012-June/081619.html
https://lists.fedoraproject.org/pipermail/package-announce/2012-June/081882.html
https://secunia.com/advisories/49105
https://secunia.com/advisories/49746
https://security.gentoo.org/glsa/glsa-201208-01.xml
https://www.dest-unreach.org/socat/contrib/socat-secadv3.html
https://www.lwn.net/Articles/504742/
https://www.mandriva.com/security/advisories?name=MDVSA-2013:169
https://www.openwall.com/lists/oss-security/2012/05/14/2
https://www.osvdb.org/81969
https://www.securityfocus.com/bid/53510
https://www.securitytracker.com/id?1027064


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability