CVE-2011-1930 Command injection in klibc

Critical 9.8 Published Updated

A remote attacker can execute arbitrary code by sending a crafted DHCP reply that exploits improper escaping in klibc's ipconfig utility.

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

What is CVE-2011-1930?

CVE-2011-1930 is a critical command injection vulnerability in Debian Debian Linux, published on 14 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In klibc 1.5.20 and 1.5.21, the DHCP options written by ipconfig to /tmp/net-$DEVICE.conf are not properly escaped. This may allow a remote attacker to send a specially crafted DHCP reply which could execute arbitrary code with the privileges of any process which sources DHCP options.

Which versions are affected by CVE-2011-1930?

It affects 2 products.

Products include Debian Debian Linux, Klibc Project Klibc.

How do I fix CVE-2011-1930?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2011-1930 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-1930 exists.

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as CVE-2012-2382, DEBIAN-CVE-2011-1930, GHSA-h949-qrpv-p29v.

Is CVE-2011-1930 in your software?

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

Check your SBOMs for free