Heap-based buffer overflow in CVS - CVE-2012-0804

 

Heap-based buffer overflow in CVS - CVE-2012-0804

Published: June 25, 2020


Vulnerability identifier: #VU29257
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0804
CWE-ID: CWE-122
Exploitation vector: Remote 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 proxy_connect function in src/client.c in CVS when processing HTTP responses. A remote attacker can pass specially crafted data to the application, 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

CVS
Amazon Linux AMI
Gentoo Linux
cvs (Alpine package)

How to mitigate CVE-2012-0804

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

cvs (Alpine package) - update to 1.12.12-r0

External References

Related Security Bulletins