Denial of Service Vulnerability in Unbound DNS Resolver

unbound Updated 02 Oct 2025

Summary

03/10/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-8508: 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. Affects unbound versions < 1.13.1-1+deb11u4. Fixed in 1.13.1-1+deb11u4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Unbound is a validating, recursive, and caching DNS resolver developed by NLnet Labs. It is designed to provide secure and efficient DNS resolution services. Unbound is widely used in various environments due to its performance and security features. However, it is susceptible to a vulnerability that can lead to degraded performance and denial of service when handling large Resource Record sets (RRsets).

Vulnerability Detail

NLnet Labs Unbound versions up to and including 1.21.0 contain a vulnerability that arises when processing replies with very large RRsets requiring name compression. Malicious responses from upstream servers with oversized RRsets can cause Unbound to spend excessive time applying name compression to downstream replies. This unbounded operation can lead to CPU locking, resulting in degraded performance and potential denial of service during coordinated attacks. The vulnerability can be exploited by malicious actors querying Unbound for specially crafted contents of a malicious zone with large RRsets.

How To Fix

Minimum fixed version

1.13.1-1+deb11u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade unbound

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not possible, consider limiting the number of queries to Unbound or implementing rate limiting on the DNS server to mitigate potential denial of service attacks.

Conclusion

The vulnerability in Unbound DNS Resolver poses a significant risk of denial of service due to its handling of large RRsets. It is crucial for users to update to the latest patched versions to mitigate this risk. Additionally, implementing workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for unbound →

Share this vulnerability

FAQ

The vulnerability can lead to degraded performance and denial of service, especially during coordinated attacks using malicious DNS responses.

You can check your version of Unbound by running 'unbound -V' in the terminal. If it is below the patched versions mentioned, it is affected.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application against this vulnerability using the Vulert playground.

Implement rate limiting on your DNS server or restrict the number of queries to mitigate the risk of exploitation until you can apply the patch.

Detailed information can be found in the Debian CVE database or by visiting the official NLnet Labs Unbound documentation.

Related vulnerabilities

Recent vulnerabilities recorded for unbound.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.13.1-1+deb11u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade unbound

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback