CVEfocus › CVE database › CVE-2024-8508

CVE-2024-8508Unbounded name compression could lead to Denial of Service

CVSS 5.3 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2024-10-03Updated 2024-11-14Assigner: NLnet Labs

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.

CWE-606

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu, crates.io: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

47Fixed
3Fix pending
8Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04unboundFixed1.19.2-1ubuntu3.3UBUNTU-CVE-2024-8508
Ubuntu 22.04unboundFixed1.13.1-1ubuntu5.8UBUNTU-CVE-2024-8508
Ubuntu 20.04unboundFixed1.9.4-2ubuntu1.9UBUNTU-CVE-2024-8508
Ubuntu 18.04unboundFix pending1.6.7-1ubuntu2.6+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-8508
Ubuntu 16.04unboundFix pending1.5.8-1ubuntu1.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-8508
Ubuntu 14.04unboundFix pending1.4.22-1ubuntu4.14.04.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-8508
Debian 14unboundFixed1.21.1-1DEBIAN-CVE-2024-8508
Debian 13unboundFixed1.21.1-1DEBIAN-CVE-2024-8508
Debian 12unboundFixed1.17.1-2+deb12u3DEBIAN-CVE-2024-8508
Red Hat Enterprise Linux 10python3-unboundFixed0:1.20.0-10.el10_0RHSA-2025:8047
Red Hat Enterprise Linux 10unboundFixed0:1.20.0-10.el10_0RHSA-2025:8047
Red Hat Enterprise Linux 10unbound-anchorFixed0:1.20.0-10.el10_0RHSA-2025:8047
Red Hat Enterprise Linux 10unbound-develFixed0:1.20.0-10.el10_0RHSA-2025:8047
Red Hat Enterprise Linux 10unbound-dracutFixed0:1.20.0-10.el10_0RHSA-2025:8047
Red Hat Enterprise Linux 10unbound-libsFixed0:1.20.0-10.el10_0RHSA-2025:8047
Red Hat Enterprise Linux 9python3-unboundFixed0:1.16.2-8.el9_5.1RHSA-2025:8197
Red Hat Enterprise Linux 9unboundFixed0:1.16.2-18.el9_6RHSA-2024:11232
Red Hat Enterprise Linux 9unbound-develFixed0:1.16.2-18.el9_6RHSA-2024:11232
Red Hat Enterprise Linux 9unbound-dracutFixed0:1.16.2-18.el9_6RHSA-2025:8197
Red Hat Enterprise Linux 9unbound-libsFixed0:1.16.2-18.el9_6RHSA-2024:11232
Red Hat Enterprise Linux 8python3-unboundFixed0:1.16.2-5.8.el8_10RHSA-2025:0837
Red Hat Enterprise Linux 8unboundFixed0:1.16.2-5.8.el8_10RHSA-2025:0837
Red Hat Enterprise Linux 8unbound-develFixed0:1.16.2-5.8.el8_10RHSA-2025:0837
Red Hat Enterprise Linux 8unbound-libsFixed0:1.16.2-5.8.el8_10RHSA-2025:0837
Red Hat Enterprise Linux 7unboundWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6unboundWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-pythonWill not fix
Out of support scope
AlmaLinux 10python3-unboundFixed1.20.0-10.el10_0ALSA-2025:8047
AlmaLinux 10unboundFixed1.20.0-10.el10_0ALSA-2025:8047
AlmaLinux 10unbound-anchorFixed1.20.0-10.el10_0ALSA-2025:8047
AlmaLinux 10unbound-develFixed1.20.0-10.el10_0ALSA-2025:8047
AlmaLinux 10unbound-dracutFixed1.20.0-10.el10_0ALSA-2025:8047
AlmaLinux 10unbound-libsFixed1.20.0-10.el10_0ALSA-2025:8047
AlmaLinux 9python3-unboundFixed1.16.2-8.el9_5.1ALSA-2024:11232
AlmaLinux 9unboundFixed1.16.2-8.el9_5.1ALSA-2024:11232
AlmaLinux 9unbound-develFixed1.16.2-8.el9_5.1ALSA-2024:11232
AlmaLinux 9unbound-libsFixed1.16.2-8.el9_5.1ALSA-2024:11232
AlmaLinux 8python3-unboundFixed1.16.2-5.8.el8_10ALSA-2025:0837
AlmaLinux 8unboundFixed1.16.2-5.8.el8_10ALSA-2025:0837
AlmaLinux 8unbound-develFixed1.16.2-5.8.el8_10ALSA-2025:0837
AlmaLinux 8unbound-libsFixed1.16.2-5.8.el8_10ALSA-2025:0837
Rocky Linux 10unboundFixed0:1.20.0-10.el10_0RLSA-2025:8047
Rocky Linux 9unboundFixed0:1.16.2-18.el9_6RLSA-2024:11232
Rocky Linux 8unboundFixed0:1.16.2-5.8.el8_10RLSA-2025:0837
Alpine Linux 3.24unboundFixed1.21.1-r0ALPINE-CVE-2024-8508
Alpine Linux 3.23unboundFixed1.21.1-r0ALPINE-CVE-2024-8508
Alpine Linux 3.22unboundFixed1.21.1-r0ALPINE-CVE-2024-8508
Alpine Linux 3.21unboundFixed1.21.1-r0ALPINE-CVE-2024-8508
Alpine Linux 3.20unboundFixed1.20.0-r1ALPINE-CVE-2024-8508
Alpine Linux 3.19unboundFixed1.20.0-r1ALPINE-CVE-2024-8508
Alpine Linux 3.18unboundFixed1.20.0-r1ALPINE-CVE-2024-8508
Alpine Linux 3.17unboundFixed1.20.0-r1ALPINE-CVE-2024-8508
crates.io libraryhickory-protoFixed0.26.1RUSTSEC-2026-0119

What the vendor says

As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: This issue is fixed in 1.21.1 and all later versions.

Vendor advisories:

References

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.