CVE-2024-8508
CVE-2024-8508 · Unbounded name compression could lead to Denial of Service
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.8% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
unbound
- Versions
- ≥ 0, ≤ 1.21.0: Affected (semver)
No fix published
unbound Debian:12
- Versions
- 1.17.1-2
- 1.17.1-2+deb12u1
- 1.17.1-2+deb12u2
- Affected ranges
- ECOSYSTEM: < 1.17.1-2+deb12u3
Update to 1.17.1-2+deb12u3
unbound Debian:13
- Affected ranges
- ECOSYSTEM: < 1.21.1-1
Update to 1.21.1-1
unbound Debian:14
- Affected ranges
- ECOSYSTEM: < 1.21.1-1
Update to 1.21.1-1
unbound Ubuntu:Pro:14.04:LTS
- Versions
- 1.4.20-1
- 1.4.21-1
- 1.4.21-1ubuntu1
- 1.4.21-1ubuntu2
- 1.4.22-1ubuntu1
- 1.4.22-1ubuntu2
- 1.4.22-1ubuntu3
- 1.4.22-1ubuntu4
- 1.4.22-1ubuntu4.14.04.1
- 1.4.22-1ubuntu4.14.04.2
- 1.4.22-1ubuntu4.14.04.3
- 1.4.22-1ubuntu4.14.04.3+esm1
- Affected ranges
- ECOSYSTEM: < 1.4.22-1ubuntu4.14.04.3+esm2
Update to 1.4.22-1ubuntu4.14.04.3+esm2
unbound Ubuntu:Pro:16.04:LTS
- Versions
- 1.4.22-1ubuntu6
- 1.5.7-1ubuntu1
- 1.5.7-1ubuntu2
- 1.5.8-1ubuntu1
- 1.5.8-1ubuntu1.1
- 1.5.8-1ubuntu1.1+esm1
- Affected ranges
- ECOSYSTEM: < 1.5.8-1ubuntu1.1+esm2
Update to 1.5.8-1ubuntu1.1+esm2
unbound Ubuntu:Pro:18.04:LTS
- Versions
- 1.6.5-1
- 1.6.7-1
- 1.6.7-1build1
- 1.6.7-1ubuntu1
- 1.6.7-1ubuntu2
- 1.6.7-1ubuntu2.1
- 1.6.7-1ubuntu2.2
- 1.6.7-1ubuntu2.3
- 1.6.7-1ubuntu2.4
- 1.6.7-1ubuntu2.5
- 1.6.7-1ubuntu2.6
- 1.6.7-1ubuntu2.6+esm2
- Affected ranges
- ECOSYSTEM: < 1.6.7-1ubuntu2.6+esm3
Update to 1.6.7-1ubuntu2.6+esm3
unbound Ubuntu:20.04:LTS
- Versions
- 1.9.0-2ubuntu1
- 1.9.0-2ubuntu2
- 1.9.4-2
- 1.9.4-2ubuntu1
- 1.9.4-2ubuntu1.1
- 1.9.4-2ubuntu1.2
- 1.9.4-2ubuntu1.3
- 1.9.4-2ubuntu1.4
- 1.9.4-2ubuntu1.5
- 1.9.4-2ubuntu1.6
- 1.9.4-2ubuntu1.8
- Affected ranges
- ECOSYSTEM: < 1.9.4-2ubuntu1.9
Update to 1.9.4-2ubuntu1.9
unbound Ubuntu:22.04:LTS
- Versions
- 1.13.1-1ubuntu1
- 1.13.1-1ubuntu3
- 1.13.1-1ubuntu5
- 1.13.1-1ubuntu5.1
- 1.13.1-1ubuntu5.2
- 1.13.1-1ubuntu5.3
- 1.13.1-1ubuntu5.4
- 1.13.1-1ubuntu5.5
- 1.13.1-1ubuntu5.7
- Affected ranges
- ECOSYSTEM: < 1.13.1-1ubuntu5.8
Update to 1.13.1-1ubuntu5.8
unbound Ubuntu:24.04:LTS
- Versions
- 1.17.1-2
- 1.18.0-2ubuntu1
- 1.18.0-2ubuntu2
- 1.19.1-1ubuntu1
- 1.19.2-1ubuntu1
- 1.19.2-1ubuntu3
- 1.19.2-1ubuntu3.1
- 1.19.2-1ubuntu3.2
- Affected ranges
- ECOSYSTEM: < 1.19.2-1ubuntu3.3
Update to 1.19.2-1ubuntu3.3