CVEfocus › CVE database › CVE-2018-5732

CVE-2018-5732A specially constructed response from a malicious server can cause a buffer overflow in…

CVSS 7.5 HighEPSS 5.2% (higher than 93% of CVEs)Published 2019-10-09Updated 2024-09-16Assigner: isc

Failure to properly bounds-check a buffer used for processing DHCP options allows a malicious server (or an entity masquerading as a server) to cause a buffer overflow (and resulting crash) in dhclient by sending a response containing a specially constructed options section. Affects ISC DHCP versions 4.1.0 -> 4.1-ESV-R15, 4.2.0 -> 4.2.8, 4.3.0 -> 4.3.6, 4.4.0

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
1Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04isc-dhcpFixed4.3.5-3ubuntu5UBUNTU-CVE-2018-5732
Ubuntu 16.04isc-dhcpFixed4.3.3-5ubuntu12.9UBUNTU-CVE-2018-5732
Ubuntu 14.04isc-dhcpFixed4.2.4-7ubuntu12.12UBUNTU-CVE-2018-5732
Debian 13isc-dhcpFixed4.3.5-3.1DEBIAN-CVE-2018-5732
Debian 12isc-dhcpFixed4.3.5-3.1DEBIAN-CVE-2018-5732
Red Hat Enterprise Linux 8dhcpNot affected
Red Hat Enterprise Linux 8dhcp-clientNot affected
Red Hat Enterprise Linux 8dhcp-commonNot affected
Red Hat Enterprise Linux 8dhcp-libsNot affected
Red Hat Enterprise Linux 8dhcp-relayNot affected
Red Hat Enterprise Linux 8dhcp-serverNot affected
Red Hat Enterprise Linux 7dhclientFixed12:4.2.5-58.el7_4.3RHSA-2018:0483
Red Hat Enterprise Linux 7dhcpFixed12:4.2.5-58.el7_4.3RHSA-2018:0483
Red Hat Enterprise Linux 7dhcp-commonFixed12:4.2.5-58.el7_4.3RHSA-2018:0483
Red Hat Enterprise Linux 7dhcp-develFixed12:4.2.5-58.el7_4.3RHSA-2018:0483
Red Hat Enterprise Linux 7dhcp-libsFixed12:4.2.5-58.el7_4.3RHSA-2018:0483
Red Hat Enterprise Linux 6dhclientFixed12:4.1.1-53.P1.el6_9.3RHSA-2018:0469
Red Hat Enterprise Linux 6dhcpFixed12:4.1.1-53.P1.el6_9.3RHSA-2018:0469
Red Hat Enterprise Linux 6dhcp-commonFixed12:4.1.1-53.P1.el6_9.3RHSA-2018:0469
Red Hat Enterprise Linux 6dhcp-develFixed12:4.1.1-53.P1.el6_9.3RHSA-2018:0469
Red Hat Enterprise Linux 5dhcpWill not fix
Will not fix
Alpine Linux 3.20dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.19dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.18dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.17dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.16dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.15dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.14dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.13dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.12dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.11dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732
Alpine Linux 3.10dhcpFixed4.4.1-r0ALPINE-CVE-2018-5732

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of DHCP. ISC DHCP releases are available from https://www.isc.org/downloads. >= DHCP 4.1-ESV-R15-P1 >= DHCP 4.3.6-P1 >= DHCP 4.4.1

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.