CVE-2019-6470

dhcpd: use-after-free error leads crash in IPv6 mode when using mismatched BIND libraries

6.5 medium EPSS 8.81%

Published 1 Nov 2019 Updated 17 Sep 2024 CNA: isc

Check your servers for CVE-2019-6470

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-6470 affects dhcpd, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

There had existed in one of the ISC BIND libraries a bug in a function that was used by dhcpd when operating in DHCPv6 mode. There was also a bug in dhcpd relating to the use of this function per its documentation, but the bug in the library function prevented this from causing any harm. All releases of dhcpd from ISC contain copies of this, and other, BIND libraries in combinations that have been tested prior to release and are known to not present issues like this. Some third-party packagers of ISC software have modified the dhcpd source, BIND source, or version matchup in ways that create the crash potential. Based on reports available to ISC, the crash probability is large and no analysis has been done on how, or even if, the probability can be manipulated by an attacker. Affects: Builds of dhcpd versions prior to version 4.4.1 when using BIND versions 9.11.2 or later, or BIND versions with specific bug fixes backported to them. ISC does not have access to comprehensive version lists for all repackagings of dhcpd that are vulnerable. In particular, builds from other vendors may also be affected. Operators are advised to consult their vendor documentation.

Severity (CVSS)

6.5 medium CVSS 3.1 from isc (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 8.81%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
dhcpd
affected builds not wholly from ISC source < 4.4.1

Is my server affected?

Find the installed version of dhcpd and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i dhcpd
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-6470 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-6470

RHEL, Rocky, Alma, Fedora

rpm -q dhcpd
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-6470

Alpine

apk list --installed | grep -i dhcpd

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2019-6470
trivy image --scanners vuln IMAGE | grep CVE-2019-6470

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2019-6470 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.