CVE-2024-8508 Unbounded name compression could lead to Denial of Service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
18 packages: 17 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/unbound(Alpine v3.17) | < 1.20.0-r1 | 1.20.0-r1 | Fixed |
| alpine/unbound(Alpine v3.18) | < 1.20.0-r1 | 1.20.0-r1 | Fixed |
| alpine/unbound(Alpine v3.19) | < 1.20.0-r1 | 1.20.0-r1 | Fixed |
| alpine/unbound(Alpine v3.20) | < 1.20.0-r1 | 1.20.0-r1 | Fixed |
| alpine/unbound(Alpine v3.21) | < 1.21.1-r0 | 1.21.1-r0 | Fixed |
| alpine/unbound(Alpine v3.22) | < 1.21.1-r0 | 1.21.1-r0 | Fixed |
| alpine/unbound(Alpine v3.23) | < 1.21.1-r0 | 1.21.1-r0 | Fixed |
| alpine/unbound(Alpine v3.24) | < 1.21.1-r0 | 1.21.1-r0 | Fixed |
| debian/unbound(Debian 12) | < 1.17.1-2+deb12u3; = 1.17.1-2; = 1.17.1-2+deb12u1; = 1.17.1-2+deb12u2 | 1.17.1-2+deb12u3 | Fixed |
| debian/unbound(Debian 13) | < 1.21.1-1 | 1.21.1-1 | Fixed |
| debian/unbound(Debian 14) | < 1.21.1-1 | 1.21.1-1 | Fixed |
| Microsoft azure linux | < 1.19.1-4 | 1.19.1-4 | Fixed |
| Microsoft cbl mariner | < 1.19.1-3 | 1.19.1-3 | Fixed |
| NLnet Labs Unbound | <= 1.21.0 | after 1.21.0 | Fixed |
| nlnetlabs unbound | < 1.21.1; <= 1.21.0 | 1.21.1 | Fixed |
| ubuntu/unbound(Ubuntu 22.04) | < 1.13.1-1ubuntu5.8 | 1.13.1-1ubuntu5.8 | Fixed |
| ubuntu/unbound(Ubuntu 24.04) | < 1.19.2-1ubuntu3.3 | 1.19.2-1ubuntu3.3 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 1.19.1-4 | 1.19.1-4 |
| Microsoft cbl mariner | < 1.19.1-3 | 1.19.1-3 |
| debian/unbound(Debian:12) | < 1.17.1-2+deb12u3 | 1.17.1-2+deb12u3 |
| debian/unbound(Debian:12) | = 1.17.1-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u1 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u2 | No fix listed |
| debian/unbound(Debian:13) | < 1.21.1-1 | 1.21.1-1 |
| debian/unbound(Debian:14) | < 1.21.1-1 | 1.21.1-1 |
| ubuntu/unbound(Ubuntu:22.04) | < 1.13.1-1ubuntu5.8 | 1.13.1-1ubuntu5.8 |
| NLnet Labs Unbound | <= 1.21.0 | No fix listed |
| nlnetlabs unbound | <= 1.21.0 | No fix listed |
| alpine/unbound(Alpine:v3.17) | < 1.20.0-r1 | 1.20.0-r1 |
| alpine/unbound(Alpine:v3.18) | < 1.20.0-r1 | 1.20.0-r1 |
| alpine/unbound(Alpine:v3.19) | < 1.20.0-r1 | 1.20.0-r1 |
| alpine/unbound(Alpine:v3.20) | < 1.20.0-r1 | 1.20.0-r1 |
| alpine/unbound(Alpine:v3.21) | < 1.21.1-r0 | 1.21.1-r0 |
| alpine/unbound(Alpine:v3.22) | < 1.21.1-r0 | 1.21.1-r0 |
| alpine/unbound(Alpine:v3.23) | < 1.21.1-r0 | 1.21.1-r0 |
| alpine/unbound(Alpine:v3.24) | < 1.21.1-r0 | 1.21.1-r0 |
| ubuntu/unbound(Ubuntu:24.04) | < 1.19.2-1ubuntu3.3 | 1.19.2-1ubuntu3.3 |
| nlnetlabs unbound | < 1.21.1 | 1.21.1 |
| debian linux | = 11.0 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- unbound vendor-advisory
- Debian Security Tracker CVE-2024-8508 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7080-1 vendor-advisory
- www.cve.org
- www.nlnetlabs.nl vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- lists.debian.org mailing-list third-party-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking