Heap-based buffer overflow in CVS - CVE-2012-0804
Published: June 25, 2020
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
Amazon Linux AMI
Gentoo Linux
cvs (Alpine package)
How to mitigate CVE-2012-0804
External References
- http://lists.opensuse.org/opensuse-updates/2012-02/msg00064.html
- http://rhn.redhat.com/errata/RHSA-2012-0321.html
- http://ubuntu.com/usn/usn-1371-1
- http://www.debian.org/security/2012/dsa-2407
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:044
- http://www.securityfocus.com/bid/51943
- http://www.securitytracker.com/id?1026719
- https://bugzilla.redhat.com/show_bug.cgi?id=784141
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73097
- https://security.gentoo.org/glsa/201701-44