CVE-2012-2152 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can cause a crash or execute arbitrary code via a stack-based buffer overflow in the dhcpcd DHCP client.

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-2152?

CVE-2012-2152 is a high-severity memory corruption vulnerability in n/a, published on 25 Jul 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based buffer overflow in the get_packet method in socket.c in dhcpcd 3.2.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long packet.

Weakness: CWE-119

Which versions are affected by CVE-2012-2152?

It affects 1 product.

Products include Roy Marples Dhcpcd.

How do I fix CVE-2012-2152?

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-2152 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-2152, DSA-2498-1, GHSA-w9m7-rxrq-4665.

Is CVE-2012-2152 in your software?

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

Check your SBOMs for free