CVE-2012-0804: Buffer Overflow

Published Jan 23, 2012
·
Updated

Heap-based buffer overflow in the proxyconnect function in src/client.c in CVS 1.11 and 1.12 allows remote HTTP proxy servers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted HTTP response.

Other sources

When correcting a crash in CVS [1] it was found that the CVS client suffers from a flaw that causes a heap overflow. If certain conditions are met, glib SIGABRTs the process because glibc memory management structures become corrupted. The flaw is in the proxyconnect() function (src/client.c), where sscanf() copies the first word from readbuf to writebuf without checking if there is enough space in writebuf.

This could allow a malicious HTTP proxy server to cause a denial of service to CVS clients or, possibly, execute arbitrary code on the client system with the privileges of the user running cvs, by sending a malicious HTTP response code to the connecting client.

[1] https://bugzilla.redhat.com/showbug.cgi?id=773699

Red Hat

Affected Software

2 affected components
CVS CVS=1.11
CVS CVS=1.12

Event History

Jan 23, 2012
Data Sourced
10:59 PM
DescriptionSeverityAffected Software
May 29, 2012
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-0804?

CVE-2012-0804 is classified as a high severity vulnerability due to the potential for denial of service and arbitrary code execution.

2

How do I fix CVE-2012-0804?

To remediate CVE-2012-0804, upgrade to versions 1.11.23 or 1.12.13 of CVS which contain the necessary patches.

3

What software is affected by CVE-2012-0804?

CVE-2012-0804 affects CVS versions 1.11 and 1.12 specifically.

4

What type of vulnerability is CVE-2012-0804?

CVE-2012-0804 is a heap-based buffer overflow vulnerability.

5

Can CVE-2012-0804 be exploited remotely?

Yes, CVE-2012-0804 can be exploited remotely by sending a crafted HTTP response through a proxy.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203