Arbitrary Command Injection Affecting dhcp-common package, versions <12:4.2.5-68.el7_5.1


Severity

Recommended
critical

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.1% (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 Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-DHCPCOMMON-2104236
  • published26 Jul 2021
  • disclosed15 May 2018

Introduced: 15 May 2018

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

How to fix?

Upgrade Centos:7 dhcp-common to version 12:4.2.5-68.el7_5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dhcp-common package and not the dhcp-common package as distributed by Centos. See How to fix? for Centos:7 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.