7.5
CWE
20
Advisory Published
CVE Published
Updated

CVE-2011-0997: Input Validation

First published: Tue Mar 22 2011(Updated: )

dhclient in ISC DHCP 3.0.x through 4.2.x before 4.2.1-P1, 3.1-ESV before 3.1-ESV-R1, and 4.1-ESV before 4.1-ESV-R2 allows remote attackers to execute arbitrary commands via shell metacharacters in a hostname obtained from a DHCP message, as demonstrated by a hostname that is provided to dhclient-script.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ISC DHCP=3.0.4-b2
ISC DHCP=3.1.0-b1
ISC DHCP=3.1.0-a3
ISC DHCP=3.0.6-rc1
ISC DHCP=3.1.2-rc1
ISC DHCP=3.1.0-rc1
ISC DHCP=3.0.4-b1
ISC DHCP=3.1.0-a1
ISC DHCP=3.0.1-rc12
ISC DHCP=3.0
ISC DHCP=3.0.2-b1
ISC DHCP=3.0.3-b1
ISC DHCP=3.0.1-rc1
ISC DHCP=3.0.4-b3
ISC DHCP=3.0.2-rc1
ISC DHCP=3.0.1-rc7
ISC DHCP=3.1-esv
ISC DHCP=3.0.2-rc3
ISC DHCP=3.0.1-rc2
ISC DHCP=3.1.3-b1
ISC DHCP=3.0.1-rc14
ISC DHCP=3.0.1-rc6
ISC DHCP=3.0.2-rc2
ISC DHCP=3.0.1-rc13
ISC DHCP=3.0.1-rc9
ISC DHCP=3.0.3-b3
ISC DHCP=3.1.1-rc1
ISC DHCP=3.1.0-a2
ISC DHCP=3.0.1-rc8
ISC DHCP=3.0.3-b2
ISC DHCP=3.1.2-b1
ISC DHCP=3.1.3-rc1
ISC DHCP=3.0.1-rc10
ISC DHCP=3.0.5-rc1
ISC DHCP=3.0.1-rc11
ISC DHCP=3.1.1-rc2
ISC DHCP=3.0.4-rc1
ISC DHCP=3.1.0-b2
ISC DHCP=3.0.1-rc5
ISC DHCP=3.0.1
ISC DHCP=3.0.2
ISC DHCP=3.0.4
ISC DHCP=3.0.5
ISC DHCP=3.1.0
ISC DHCP=3.1.2
ISC DHCP=3.1.3
ISC DHCP=3.0.3
ISC DHCP=4.2.0-b2
ISC DHCP=4.2.0-a2
ISC DHCP=4.2.0-b1
ISC DHCP=4.2.1-rc1
ISC DHCP=4.2.0-a1
ISC DHCP=4.1-esv-rc1
ISC DHCP=4.2.1-b1
ISC DHCP=4.2.0-rc1
ISC DHCP=4.2.0-p1
ISC DHCP=4.1-esv
ISC DHCP=4.2.0
ISC DHCP=4.2.1
Debian Linux=5.0
Debian Linux=7.0
Debian Linux=6.0
Ubuntu=10.10
Ubuntu=6.06
Ubuntu=8.04
Ubuntu=10.04
Ubuntu=9.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2011-0997?

    CVE-2011-0997 has a severity rating of high due to its potential to allow remote code execution.

  • How do I fix CVE-2011-0997?

    To fix CVE-2011-0997, upgrade to ISC DHCP version 4.2.1-P1 or later, or to versions 3.1-ESV-R1 and 4.1-ESV-R2.

  • Which versions of ISC DHCP are affected by CVE-2011-0997?

    CVE-2011-0997 affects ISC DHCP versions 3.0.x through 4.2.x before 4.2.1-P1, as well as 3.1-ESV before 3.1-ESV-R1.

  • What are the potential risks associated with CVE-2011-0997?

    The risk associated with CVE-2011-0997 includes the possibility of remote attackers executing arbitrary commands on the affected system.

  • Is there a workaround for CVE-2011-0997?

    While upgrading is the best option, disabling DHCP or filtering DHCP requests can serve as a temporary workaround for CVE-2011-0997.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203