CVE-2014-7913 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via crafted DHCP messages due to memory corruption in the dhcpcd 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-2014-7913?

CVE-2014-7913 is a medium-severity memory corruption vulnerability in n/a, published on 30 Jul 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The print_option function in dhcp-common.c in dhcpcd through 6.9.1, as used in dhcp.c in dhcpcd 5.x in Android before 5.1 and other products, misinterprets the return value of the snprintf function, which allows remote DHCP servers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted message.

Weakness: CWE-119

Which versions are affected by CVE-2014-7913?

It affects 1 product.

Products include Dhcpcd Project Dhcpcd.

How do I fix CVE-2014-7913?

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

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

Sources

Also known as DEBIAN-CVE-2014-7913, GHSA-vgj7-h8f5-5q2r, MGASA-2016-0190, UBUNTU-CVE-2014-7913.

Is CVE-2014-7913 in your software?

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

Check your SBOMs for free