CVE-2012-0804 Memory corruption in n/a

Critical 10.0 Published Updated

A heap-based buffer overflow in the CVS client allows remote HTTP proxy servers to cause a crash or execute arbitrary code via crafted responses.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-0804?

CVE-2012-0804 is a critical memory corruption vulnerability in n/a, published on 29 May 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Heap-based buffer overflow in the proxy_connect 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.

Weakness: CWE-119

Which versions are affected by CVE-2012-0804?

It affects 1 product.

Linux distribution packages (15)
cvs Red Hat:enterprise_linux:5::clientAll versions0:1.11.22-11.el5_8.1
cvs-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:1.11.22-11.el5_8.1
cvs-inetd Red Hat:enterprise_linux:5::clientAll versions0:1.11.22-11.el5_8.1
cvs Red Hat:enterprise_linux:5::serverAll versions0:1.11.22-11.el5_8.1
cvs-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:1.11.22-11.el5_8.1
cvs-inetd Red Hat:enterprise_linux:5::serverAll versions0:1.11.22-11.el5_8.1
cvs Red Hat:enterprise_linux:6::clientAll versions0:1.11.23-11.el6_2.1
cvs-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:1.11.23-11.el6_2.1
cvs Red Hat:enterprise_linux:6::computenodeAll versions0:1.11.23-11.el6_2.1
cvs-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:1.11.23-11.el6_2.1
cvs Red Hat:enterprise_linux:6::serverAll versions0:1.11.23-11.el6_2.1
cvs-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:1.11.23-11.el6_2.1
cvs Red Hat:enterprise_linux:6::workstationAll versions0:1.11.23-11.el6_2.1
cvs-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:1.11.23-11.el6_2.1
cvs openSUSE:TumbleweedAll versions1.12.12-183.10

Products include Cvs Cvs.

How do I fix CVE-2012-0804?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2012-0804 being exploited?

There is no known exploitation of CVE-2012-0804 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2012-0804, CLEANSTART-2023-RT70997, DEBIAN-CVE-2012-0804, DSA-2407-1, GHSA-fr3c-7j3p-qm6p, RHSA-2012:0321 and 1 more.

Is CVE-2012-0804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free