CVE-2024-8508: debian debian_linux Unchecked Input for Loop Condition
Vulnerability summary
CVE-2024-8508 is a medium (CVSS 5.3) Unchecked Input for Loop Condition vulnerability in debian debian_linux. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 55.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 03-10-2024PublishedVulnerability first disclosed.
- 14-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.80%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
0.00 pp
From 0.80% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-606Unchecked Input for Loop ConditionThe product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
- CWE-1284Improper Validation of Specified Quantity in InputThe product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Affected systems
Redhat12 products
- python3-unbound< 0:1.16.2-8.el9_4.1 | < 0:1.16.2-8.el9_5.1 | < 0:1.20.0-10.el10_0 | < 0:1.16.2-18.el9_6
- python3-unbound-debuginfo< 0:1.16.2-8.el9_4.1 | < 0:1.16.2-8.el9_5.1 | < 0:1.20.0-10.el10_0 | < 0:1.16.2-18.el9_6
- unbound< 0:1.16.2-8.el9_4.1 | < 0:1.16.2-8.el9_5.1 | < 0:1.20.0-10.el10_0 | < 0:1.16.2-18.el9_6
- unbound-anchor< 0:1.20.0-10.el10_0
- unbound-anchor-debuginfo< 0:1.20.0-10.el10_0
Suse7 products
- unbound&distro=SUSE Linux Enterprise Micro 5.5< 1.20.0-150100.10.19.1
- unbound&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 1.20.0-150100.10.19.1
- unbound&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 1.20.0-150600.23.9.1
- unbound&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5< 1.20.0-150100.10.19.1
- unbound&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6< 1.20.0-150600.23.9.1
Opensuse3 products
- unbound&distro=openSUSE Leap 15.5< 1.20.0-150100.10.19.1
- unbound&distro=openSUSE Leap 15.6< 1.20.0-150600.23.9.1
- unbound&distro=openSUSE Tumbleweed< 1.21.1-1.1
Debian2 products
- unbound< 1.17.1-2+deb12u3 | < 1.21.1-1 | < 1.13.1-1+deb11u4
- debian_linuxEOL11.0
Alpine1 product
- unbound< 1.20.0-r1 | < 1.21.1-r0
Mageia1 product
- unbound< 1.21.1-1.mga9
Nlnet labs1 product
- unbound≤ 1.21.0
Nlnetlabs1 product
- unbound< 1.21.1
Ubuntu1 product
- unbound< 1.4.22-1ubuntu4.14.04.3+esm2 | < 1.5.8-1ubuntu1.1+esm2 | < 1.6.7-1ubuntu2.6+esm3 | < 1.9.4-2ubuntu1.9 | < 1.13.1-1ubuntu5.8 | < 1.19.2-1ubuntu3.3
9 vendors · 29 products
References
29 linksShow all 29 references
- lists.opensuse.org/archives/…Advisory