CVE-2012-0219 Memory corruption in n/a

Medium 6.2 Published Updated

Local attackers can execute arbitrary code via a heap-based buffer overflow in the socat utility's readline function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-0219?

CVE-2012-0219 is a medium-severity memory corruption vulnerability in n/a, published on 21 Jun 2012. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 allows local users to execute arbitrary code via the READLINE address.

Weakness: CWE-119

Which versions are affected by CVE-2012-0219?

It affects 1 product.

Products include Dest-Unreach Socat.

How do I fix CVE-2012-0219?

Upgrade to a fixed version.

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

Is CVE-2012-0219 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-0219, GHSA-2c9m-9m4q-pf59.

Is CVE-2012-0219 in your software?

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

Check your SBOMs for free