CVE-2024-8508
Fixed in a distro release EPSS <1%CVSS 5.3
NLnet Labs Unbound up to and including version 1.21.0 contains a vulnerability when handling replies with very large RRsets that it needs to perform name compression for. Malicious upstreams responses with very large RRsets can cause Unbound to spend a considerable time applying name compression to downstream replies. This can lead to degraded performance and eventually denial of service in well orchestrated attacks. The vulnerability can be exploited by a malicious actor querying Unbound for the specially crafted contents of a malicious zone with very large RRsets. Before Unbound replies to the query it will try to apply name compression which was an unbounded operation that could lock the CPU until the whole packet was complete. Unbound version 1.21.1 introduces a hard limit on the number of name compression calculations it is willing to do per packet. Packets that need more compression will result in semi-compressed packets or truncated packets, even on TCP for huge messages, to avoid locking the CPU for long. This change should not affect normal DNS traffic.
Products: NLnet Labs unbound, nlnetlabs unbound
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | python3-unbound | 1.20.0-10.el10_0 |
| AlmaLinux 10 | unbound | 1.20.0-10.el10_0 |
| AlmaLinux 10 | unbound-anchor | 1.20.0-10.el10_0 |
| AlmaLinux 10 | unbound-devel | 1.20.0-10.el10_0 |
| AlmaLinux 10 | unbound-dracut | 1.20.0-10.el10_0 |
| AlmaLinux 10 | unbound-libs | 1.20.0-10.el10_0 |
| AlmaLinux 8 | python3-unbound | 1.16.2-5.8.el8_10 |
| AlmaLinux 8 | unbound | 1.16.2-5.8.el8_10 |
| AlmaLinux 8 | unbound-devel | 1.16.2-5.8.el8_10 |
| AlmaLinux 8 | unbound-libs | 1.16.2-5.8.el8_10 |
| AlmaLinux 9 | python3-unbound | 1.16.2-8.el9_5.1 |
| AlmaLinux 9 | unbound | 1.16.2-8.el9_5.1 |
| AlmaLinux 9 | unbound-devel | 1.16.2-8.el9_5.1 |
| AlmaLinux 9 | unbound-libs | 1.16.2-8.el9_5.1 |
| Alpine 3.17 | unbound | 1.20.0-r1 |
| Alpine 3.18 | unbound | 1.20.0-r1 |
| Alpine 3.19 | unbound | 1.20.0-r1 |
| Alpine 3.20 | unbound | 1.20.0-r1 |
| Alpine 3.21 | unbound | 1.21.1-r0 |
| Alpine 3.22 | unbound | 1.21.1-r0 |
| Alpine 3.23 | unbound | 1.21.1-r0 |
| Alpine 3.24 | unbound | 1.21.1-r0 |
| Amazon Linux 2 | python2-unbound | 1.7.3-15.amzn2.0.9 |
| Amazon Linux 2 | python3-unbound | 1.7.3-15.amzn2.0.9 |
| Amazon Linux 2 | unbound | 1.7.3-15.amzn2.0.9 |
| Amazon Linux 2 | unbound-devel | 1.7.3-15.amzn2.0.9 |
| Amazon Linux 2 | unbound-libs | 1.7.3-15.amzn2.0.9 |
| Amazon Linux 2023 | python3-unbound | 1.17.1-1.amzn2023.0.6 |
| Amazon Linux 2023 | unbound | 1.17.1-1.amzn2023.0.6 |
| Amazon Linux 2023 | unbound-anchor | 1.17.1-1.amzn2023.0.6 |
| Amazon Linux 2023 | unbound-devel | 1.17.1-1.amzn2023.0.6 |
| Amazon Linux 2023 | unbound-libs | 1.17.1-1.amzn2023.0.6 |
| Amazon Linux 2023 | unbound-utils | 1.17.1-1.amzn2023.0.6 |
| Debian 11 | unbound | 1.13.1-1+deb11u4 |
| Debian 12 | unbound | 1.17.1-2+deb12u3 |
| Debian 13 | unbound | 1.21.1-1 |
| Debian 14 | unbound | 1.21.1-1 |
| Red Hat Enterprise Linux 10.0 | python3-unbound | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | python3-unbound-debuginfo | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-anchor | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-anchor-debuginfo | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-debuginfo | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-debugsource | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-devel | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-dracut | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-libs | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-libs-debuginfo | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 10.0 | unbound-utils-debuginfo | 0:1.20.0-10.el10_0 |
| Red Hat Enterprise Linux 8 | python3-unbound | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 8 | python3-unbound-debuginfo | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 8 | unbound | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 8 | unbound-debuginfo | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 8 | unbound-debugsource | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 8 | unbound-devel | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 8 | unbound-libs | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 8 | unbound-libs-debuginfo | 0:1.16.2-5.8.el8_10 |
| Red Hat Enterprise Linux 9 | python3-unbound | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | python3-unbound | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | python3-unbound-debuginfo | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | python3-unbound-debuginfo | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | unbound | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | unbound | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | unbound-debuginfo | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | unbound-debuginfo | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | unbound-debugsource | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | unbound-debugsource | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | unbound-devel | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | unbound-devel | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | unbound-dracut | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | unbound-libs | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | unbound-libs | 0:1.16.2-18.el9_6 |
| Red Hat Enterprise Linux 9 | unbound-libs-debuginfo | 0:1.16.2-8.el9_5.1 |
| Red Hat Enterprise Linux 9 | unbound-libs-debuginfo | 0:1.16.2-18.el9_6 |
| Red Hat rhel eus 9.4 | python3-unbound | 0:1.16.2-8.el9_4.1 |
| Red Hat rhel eus 9.4 | python3-unbound-debuginfo | 0:1.16.2-8.el9_4.1 |
| Red Hat rhel eus 9.4 | unbound | 0:1.16.2-8.el9_4.1 |
| Red Hat rhel eus 9.4 | unbound-debuginfo | 0:1.16.2-8.el9_4.1 |
| Red Hat rhel eus 9.4 | unbound-debugsource | 0:1.16.2-8.el9_4.1 |
| Red Hat rhel eus 9.4 | unbound-devel | 0:1.16.2-8.el9_4.1 |
| Red Hat rhel eus 9.4 | unbound-libs | 0:1.16.2-8.el9_4.1 |
| Red Hat rhel eus 9.4 | unbound-libs-debuginfo | 0:1.16.2-8.el9_4.1 |
| Rocky Linux 10 | unbound | 0:1.20.0-10.el10_0 |
| Rocky Linux 8 | unbound | 0:1.16.2-5.8.el8_10 |
| Rocky Linux 9 | unbound | 0:1.16.2-18.el9_6 |
| Rocky Linux 9 | unbound | 0:1.16.2-8.el9_5.1 |
| SUSE Linux Enterprise Micro 5.5 | unbound | 1.20.0-150100.10.19.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | unbound | 1.20.0-150100.10.19.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | unbound | 1.20.0-150600.23.9.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | unbound | 1.20.0-150100.10.19.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | unbound | 1.20.0-150600.23.9.1 |
| SUSE Linux Micro 6.0 | unbound | 1.22.0-1.1 |
| SUSE Linux Micro 6.1 | unbound | 1.22.0-slfo.1.1_1.1 |
| Ubuntu 20.04 LTS | unbound | 1.9.4-2ubuntu1.9 |
| Ubuntu 22.04 LTS | unbound | 1.13.1-1ubuntu5.8 |
| Ubuntu 24.04 LTS | unbound | 1.19.2-1ubuntu3.3 |
| Ubuntu Pro 14.04 LTS | unbound | 1.4.22-1ubuntu4.14.04.3+esm2 |
| Ubuntu Pro 16.04 LTS | unbound | 1.5.8-1ubuntu1.1+esm2 |
| Ubuntu Pro 18.04 LTS | unbound | 1.6.7-1ubuntu2.6+esm3 |
| openSUSE Leap 15.5 | unbound | 1.20.0-150100.10.19.1 |
| openSUSE Leap 15.6 | unbound | 1.20.0-150600.23.9.1 |
| openSUSE Tumbleweed | unbound | 1.21.1-1.1 |