cve.bz

CVE-2024-8508 Unchecked Input for Loop Condition

5.3 mediumEPSS 0.8%

Medium (5.3). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1284 Improper Validation of Specified Quantity in Input
CWE-606 Unchecked Input for Loop Condition
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-8508 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-8508?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-8508?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-8508 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLnet Labs Unboundthrough 1.21.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11unbound1.13.1-1+deb11u4DLA-3952-1
Debian12unbound1.17.1-2+deb12u3DEBIAN-CVE-2024-8508 DSA-5987-1
Debian13, 14unbound1.21.1-1DEBIAN-CVE-2024-8508
Ubuntu20.04:LTSunbound1.9.4-2ubuntu1.9UBUNTU-CVE-2024-8508 USN-7080-1
Ubuntu22.04:LTSunbound1.13.1-1ubuntu5.8UBUNTU-CVE-2024-8508 USN-7080-1
Ubuntu24.04:LTSunbound1.19.2-1ubuntu3.3UBUNTU-CVE-2024-8508 USN-7080-1
UbuntuPro:14.04:LTSunbound1.4.22-1ubuntu4.14.04.3+esm2UBUNTU-CVE-2024-8508 USN-7080-1
UbuntuPro:16.04:LTSunbound1.5.8-1ubuntu1.1+esm2UBUNTU-CVE-2024-8508 USN-7080-1
UbuntuPro:18.04:LTSunbound1.6.7-1ubuntu2.6+esm3UBUNTU-CVE-2024-8508 USN-7080-1
Red Hatenterprise_linux:8::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.16.2-5.8.el8_10RHSA-2025:0837
Red Hatenterprise_linux:9::appstreamunbound, unbound-libs, python3-unbound and 4 more0:1.16.2-8.el9_5.1RHSA-2024:11232
Red Hatenterprise_linux:9::appstreamunbound, unbound-libs, unbound-dracut and 5 more0:1.16.2-18.el9_6RHSA-2025:8197
Red Hatenterprise_linux:9::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.16.2-18.el9_6RHSA-2025:8197
Red Hatenterprise_linux:9::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.16.2-8.el9_5.1RHSA-2024:11232
Red Hatenterprise_linux:10.0unbound, unbound-libs, unbound-devel and 9 more0:1.20.0-10.el10_0RHSA-2025:8047
Red Hatrhel_eus:9.4::appstreamunbound, unbound-libs, python3-unbound and 4 more0:1.16.2-8.el9_4.1RHSA-2024:11170
Red Hatrhel_eus:9.4::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.16.2-8.el9_4.1RHSA-2024:11170
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP5unbound1.20.0-150100.10.19.1SUSE-SU-2024:3646-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Package Hub 15 SP6unbound1.20.0-150600.23.9.1SUSE-SU-2024:3647-1
SUSELinux Micro 6.0unbound1.22.0-1.1SUSE-SU-2025:20126-1
SUSELinux Micro 6.1unbound1.22.0-slfo.1.1_1.1SUSE-SU-2025:20359-1
openSUSELeap 15.5unbound1.20.0-150100.10.19.1SUSE-SU-2024:3646-1
openSUSELeap 15.6unbound1.20.0-150600.23.9.1SUSE-SU-2024:3647-1
openSUSETumbleweedunbound1.21.1-1.1openSUSE-SU-2024:14391-1
AlmaLinux8unbound, unbound-libs, unbound-devel and 1 more1.16.2-5.8.el8_10ALSA-2025:0837
AlmaLinux9unbound, unbound-libs, unbound-devel and 1 more1.16.2-8.el9_5.1ALSA-2024:11232
AlmaLinux10unbound, unbound-libs, unbound-devel and 3 more1.20.0-10.el10_0ALSA-2025:8047
Rocky Linux8unbound0:1.16.2-5.8.el8_10RLSA-2025:0837
Rocky Linux9unbound0:1.16.2-18.el9_6RLSA-2025:8197
Rocky Linux9unbound0:1.16.2-8.el9_5.1RLSA-2024:11232
Rocky Linux10unbound0:1.20.0-10.el10_0RLSA-2025:8047
Alpinev3.17, v3.18, v3.19 and 1 moreunbound1.20.0-r1ALPINE-CVE-2024-8508
Alpinev3.21, v3.22, v3.23 and 1 moreunbound1.21.1-r0ALPINE-CVE-2024-8508
Azure Linux2unbound1.19.1-3AZL-49976
Azure Linux3unbound1.19.1-4AZL-49915

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10unbound-0:1.20.0-10.el10_0Fixed 2025-05-20RHSA-2025:8047
Red Hat Enterprise Linux 8unbound-0:1.16.2-5.8.el8_10Fixed 2025-01-30RHSA-2025:0837
Red Hat Enterprise Linux 9unbound-0:1.16.2-8.el9_5.1Fixed 2024-12-17RHSA-2024:11232
Red Hat Enterprise Linux 9unbound-0:1.16.2-18.el9_6Fixed 2025-05-27RHSA-2025:8197
Red Hat Enterprise Linux 9.4 Extended Update Supportunbound-0:1.16.2-8.el9_4.1Fixed 2024-12-17RHSA-2024:11170
Red Hat OpenShift Container Platform 4.16openshift/ose-rhel-coreos-9:416.94.202501030250-0Fixed 2025-01-15RHSA-2025:0140
Red Hat OpenShift Container Platform 4.17openshift/ose-rhel-coreos-9:417.94.202502051822-0Fixed 2025-02-11RHSA-2025:1120
Red Hat Enterprise Linux 6unboundOut of support scope
Red Hat Enterprise Linux 7unboundOut of support scope
Red Hat OpenStack Platform 17.1openstack-unbound-containerNot affected
Red Hat OpenStack Platform 18.0openstack-unbound-containerAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-8508.

References

Check your stackJSON