CVE-2019-6470dhcpd: use-after-free error leads crash in IPv6 mode when using mismatched BIND libraries
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | isc-dhcp | Fixed | 4.3.5-3ubuntu7.1 | UBUNTU-CVE-2019-6470 |
| Ubuntu 16.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Debian 13 | isc-dhcp | Fixed | 4.4.1-2 | DEBIAN-CVE-2019-6470 |
| Debian 12 | isc-dhcp | Fixed | 4.4.1-2 | DEBIAN-CVE-2019-6470 |
| Red Hat Enterprise Linux 8 | dhcp | Fixed | 12:4.3.6-34.el8 | RHSA-2019:3525 |
| Red Hat Enterprise Linux 8 | dhcp-client | Fixed | 12:4.3.6-34.el8 | RHSA-2019:3525 |
| Red Hat Enterprise Linux 8 | dhcp-common | Fixed | 12:4.3.6-34.el8 | RHSA-2019:3525 |
| Red Hat Enterprise Linux 8 | dhcp-libs | Fixed | 12:4.3.6-34.el8 | RHSA-2019:3525 |
| Red Hat Enterprise Linux 8 | dhcp-relay | Fixed | 12:4.3.6-34.el8 | RHSA-2019:3525 |
| Red Hat Enterprise Linux 8 | dhcp-server | Fixed | 12:4.3.6-34.el8 | RHSA-2019:3525 |
| Red Hat Enterprise Linux 7 | dhclient | Fixed | 12:4.2.5-77.el7 | RHSA-2019:2060 |
| Red Hat Enterprise Linux 7 | dhcp | Fixed | 12:4.2.5-77.el7 | RHSA-2019:2060 |
| Red Hat Enterprise Linux 7 | dhcp-common | Fixed | 12:4.2.5-77.el7 | RHSA-2019:2060 |
| Red Hat Enterprise Linux 7 | dhcp-devel | Fixed | 12:4.2.5-77.el7 | RHSA-2019:2060 |
| Red Hat Enterprise Linux 7 | dhcp-libs | Fixed | 12:4.2.5-77.el7 | RHSA-2019:2060 |
| Red Hat Enterprise Linux 6 | dhclient | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dhcp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dhcp-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dhcp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | dhcp | Not affected | ||
| Alpine Linux 3.20 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.19 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.18 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.17 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.16 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.15 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.14 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.13 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.12 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
| Alpine Linux 3.11 | dhcp | Fixed | 4.4.1-r0 | ALPINE-CVE-2019-6470 |
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.
- Multiple, non-ISC dhcpd: affected: builds not wholly from ISC source < 4.4.1
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:3525 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2019:2060
- https://lists.opensuse.org/opensuse-security-announce/2019-10/msg00049.html
- https://lists.opensuse.org/opensuse-security-announce/2019-10/msg00048.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896122
- https://access.redhat.com/errata/RHSA-2019:3525
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.