CVE-2014-7912 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via malicious DHCP messages due to improper validation in the dhcpcd client.

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-2014-7912?

CVE-2014-7912 is a medium-severity memory corruption vulnerability in n/a, published on 30 Jul 2015. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The get_option function in dhcp.c in dhcpcd before 6.2.0, as used in dhcpcd 5.x in Android before 5.1 and other products, does not validate the relationship between length fields and the amount of data, which allows remote DHCP servers to execute arbitrary code or cause a denial of service (memory corruption) via a large length value of an option in a DHCPACK message.

Weakness: CWE-119

Which versions are affected by CVE-2014-7912?

It affects 1 product.

Products include Dhcpcd Project Dhcpcd.

How do I fix CVE-2014-7912?

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-2014-7912 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2014-7912, GHSA-f6q4-hgr5-frj4, UBUNTU-CVE-2014-7912.

Is CVE-2014-7912 in your software?

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

Check your SBOMs for free