CVE-2019-6470 dhcpd: use-after-free error leads crash in IPv6 mode when using mismatched BIND libraries
A use-after-free error in ISC DHCP server causes a crash in IPv6 mode when using mismatched BIND libraries, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-6470?
CVE-2019-6470 is a medium-severity use after free vulnerability in Opensuse Leap, published on 1 Nov 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2019-6470?
It affects 19 products.
Linux distribution packages (40)
dhclient Red Hat:enterprise_linux:7::client | All versions | 12:4.2.5-77.el7 |
dhcp Red Hat:enterprise_linux:7::client | All versions | 12:4.2.5-77.el7 |
dhcp-common Red Hat:enterprise_linux:7::client | All versions | 12:4.2.5-77.el7 |
dhcp-debuginfo Red Hat:enterprise_linux:7::client | All versions | 12:4.2.5-77.el7 |
dhcp-devel Red Hat:enterprise_linux:7::client | All versions | 12:4.2.5-77.el7 |
dhcp-libs Red Hat:enterprise_linux:7::client | All versions | 12:4.2.5-77.el7 |
dhclient Red Hat:enterprise_linux:7::computenode | All versions | 12:4.2.5-77.el7 |
dhcp Red Hat:enterprise_linux:7::computenode | All versions | 12:4.2.5-77.el7 |
dhcp-common Red Hat:enterprise_linux:7::computenode | All versions | 12:4.2.5-77.el7 |
dhcp-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 12:4.2.5-77.el7 |
dhcp-devel Red Hat:enterprise_linux:7::computenode | All versions | 12:4.2.5-77.el7 |
dhcp-libs Red Hat:enterprise_linux:7::computenode | All versions | 12:4.2.5-77.el7 |
dhclient Red Hat:enterprise_linux:7::server | All versions | 12:4.2.5-77.el7 |
dhcp Red Hat:enterprise_linux:7::server | All versions | 12:4.2.5-77.el7 |
dhcp-common Red Hat:enterprise_linux:7::server | All versions | 12:4.2.5-77.el7 |
dhcp-debuginfo Red Hat:enterprise_linux:7::server | All versions | 12:4.2.5-77.el7 |
dhcp-devel Red Hat:enterprise_linux:7::server | All versions | 12:4.2.5-77.el7 |
dhcp-libs Red Hat:enterprise_linux:7::server | All versions | 12:4.2.5-77.el7 |
dhclient Red Hat:enterprise_linux:7::workstation | All versions | 12:4.2.5-77.el7 |
dhcp Red Hat:enterprise_linux:7::workstation | All versions | 12:4.2.5-77.el7 |
dhcp-common Red Hat:enterprise_linux:7::workstation | All versions | 12:4.2.5-77.el7 |
dhcp-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 12:4.2.5-77.el7 |
dhcp-devel Red Hat:enterprise_linux:7::workstation | All versions | 12:4.2.5-77.el7 |
dhcp-libs Red Hat:enterprise_linux:7::workstation | All versions | 12:4.2.5-77.el7 |
dhcp Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-client Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-client-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-common Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-libs Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-libs-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-relay Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-relay-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-server Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp-server-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 12:4.3.6-34.el8 |
dhcp SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 4.3.3-10.19.1 |
dhcp SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 4.3.5-6.3.1 |
dhcp SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 4.3.5-6.3.1 |
dhcp SUSE:Linux Enterprise Module for Server Applications 15 | All versions | 4.3.5-6.3.1 |
Products include Isc Dhcpd, Opensuse Leap, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Arm 64 and 13 more.
How do I fix CVE-2019-6470?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2019-6470 being exploited?
There is no known exploitation of CVE-2019-6470 in the wild and no public exploit code.
Other vulnerabilities in Opensuse Leap
Sources
Also known as ALPINE-CVE-2019-6470, AZL-34558, AZL-6326, DEBIAN-CVE-2019-6470, GHSA-w4w8-43xj-r4wr, RHSA-2019:2060 and 8 more.