CVE-2024-8508
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-8508 affects NLnet Labs Unbound DNS server versions up to and including 1.21.0. The vulnerability was discovered by Toshifumi Sakaguchi and disclosed in October 2024. The issue occurs when handling replies with very large RRsets that require name compression processing (NLnet Labs Advisory, OSS Security).

Technical details

The vulnerability exists in Unbound's name compression mechanism when processing DNS replies containing very large RRsets. When Unbound receives such replies, it performs an unbounded operation for name compression that can lock the CPU until the entire packet is processed. The issue has been assigned a CVSS v3.1 base score of 5.3 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

The vulnerability can lead to degraded performance and eventual denial of service in well-orchestrated attacks. When exploited, the issue causes Unbound to spend considerable time applying name compression to downstream replies, potentially locking up CPU resources (NLnet Labs Advisory).

Mitigation and workarounds

The issue has been fixed in Unbound version 1.21.1, which introduces a hard limit on the number of name compression calculations performed per packet. For packets requiring more compression, the solution results in semi-compressed packets or truncated packets, even on TCP for huge messages, to prevent CPU lockup. This change does not affect normal DNS traffic. Users are advised to upgrade to version 1.21.1 or apply the provided patch (NLnet Labs Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61804HIGH7.8
  • NixOSNixOS
  • animate
NoYesOct 15, 2025
CVE-2025-54279HIGH7.8
  • NixOSNixOS
  • animate
NoYesOct 15, 2025
CVE-2025-55039MEDIUM6.5
  • JavaJava
  • spark
NoYesOct 15, 2025
CVE-2025-54270MEDIUM5.5
  • NixOSNixOS
  • animate
NoYesOct 15, 2025
CVE-2025-11839MEDIUM4.8
  • NixOSNixOS
  • gdb
NoNoOct 16, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management