CVE-2011-1930
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe ipconfig utility in klibc 1.5.20 and 1.5.21 writes DHCP options to /tmp/net-$DEVICE.conf without proper escaping of special characters. A remote attacker on the same network segment can send a malicious DHCP reply containing crafted options with shell metacharacters. When any process sources these DHCP options (e.g., via shell script inclusion), arbitrary code execution occurs with the privileges of that process.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 8.0= 9.0= 10.0< 1.5.25CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check if klibc is installedOn Debian-based systems: dpkg -l | grep klibc. On RPM-based systems: rpm -q klibcAffected if klibc package is not installed means not affected; if installed, proceed to version check
-
Determine installed klibc versionRun: dpkg -l klibc 2>/dev/null | grep klibc (Debian) or rpm -q --queryformat '%{VERSION}-%{RELEASE}' klibc (RPM). Compare the version number to the affected ranges: Debian 8.0, 9.0, 10.0 and klibc versions below 1.5.25Affected if Installed version is 1.5.20, 1.5.21, or any version below 1.5.25 on Debian systems indicates vulnerability
-
Verify ipconfig utility existsRun: which ipconfig or find /usr -name ipconfig 2>/dev/nullAffected if ipconfig binary is present and klibc version is vulnerable indicates potential exposure
-
Check for DHCP-created configuration filesRun: ls -la /tmp/net-*.conf 2>/dev/null to list any DHCP configuration files written by ipconfigAffected if Files matching /tmp/net-*.conf exist, indicating the system has processed DHCP responses and created vulnerable configuration files
-
Inspect script usage of DHCP config filesSearch for scripts that source /tmp/net- files: grep -r 'source.*net-' /etc /root 2>/dev/null or grep -r '\. /tmp/net-' /etc /root 2>/dev/nullAffected if Any script sources or includes /tmp/net-*.conf files, which would trigger code execution if malicious DHCP options are present
The system is affected if klibc version is below 1.5.25 (or matches Debian 8.0/9.0/10.0), the ipconfig utility is present, and any process sources the DHCP configuration files in /tmp/net-*.conf.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.5.25
Upgrade klibc to version 1.5.22 or later which contains the fix for proper DHCP option escaping. If upgrading is not immediately possible, ensure untrusted network segments cannot deliver DHCP responses to vulnerable systems.
klibc >= 1.5.25
- Check the current version of klibc installed: dpkg -l | grep klibc or rpm -q klibc
- Update the package repository metadata: apt-get update (Debian/Ubuntu) or yum check-update (RHEL/CentOS)
- Upgrade klibc to version 1.5.25 or later: apt-get install klibc (Debian) or yum update klibc (RHEL/CentOS)
- Verify the installed version meets the minimum requirement of 1.5.25: dpkg -l klibc or rpm -q klibc
- Reboot the system to ensure the new klibc library is loaded for all network operations
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation4.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,744.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2011-1930 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2011-1930 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data