OS Command Injection Affecting dhclient package, versions <12:4.1.1-53.P1.28.amzn1


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
96.76% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-DHCLIENT-1713850
  • published27 Sept 2021
  • disclosed17 May 2018

Introduced: 17 May 2018

CVE-2018-1111  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 dhclient to version 12:4.1.1-53.P1.28.amzn1 or higher.
This issue was patched in ALAS-2018-1024.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dhclient package and not the dhclient package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

DHCP packages in Red Hat Enterprise Linux 6 and 7, Fedora 28, and earlier are vulnerable to a command injection flaw in the NetworkManager integration script included in the DHCP client. A malicious DHCP server, or an attacker on the local network able to spoof DHCP responses, could use this flaw to execute arbitrary commands with root privileges on systems using NetworkManager and configured to obtain network configuration using the DHCP protocol.

References