CVE-2024-1931
Denial of service when trimming EDE text on positive replies
Mitigation
- Upgrade Unbound to 1.19.2 or later.
Who should check
- Anyone running NLnet Labs Unbound >= 1.18.0, < 1.19.2
Vulnerability facts
- Affected
- NLnet Labs Unbound >= 1.18.0, < 1.19.2
- Fixed in
- NLnet Labs Unbound 1.19.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 3.22% chance of exploitation in 30 days (percentile 89, 2026-11-26)
- CWE
- CWE-835
- Modified
Description
NLnet Labs Unbound version 1.18.0 up to and including version 1.19.1 contain a vulnerability that can cause denial of service by a certain code path that can lead to an infinite loop. Unbound 1.18.0 introduced a feature that removes EDE records from responses with size higher than the client's advertised buffer size. Before removing all the EDE records however, it would try to see if trimming the extra text fields on those records would result in an acceptable size while still retaining the EDE codes. Due to an unchecked condition, the code that trims the text of the EDE records could loop indefinitely. This happens when Unbound would reply with attached EDE information on a positive reply and the client's buffer size is smaller than the needed space to include EDE records. The vulnerability can only be triggered when the 'ede: yes' option is used; non default configuration. From version 1.19.2 on, the code is fixed to avoid looping indefinitely.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NLnet Labs Unbound | >= 1.18.0, < 1.19.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-1931. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-1931.md Affected: NLnet Labs Unbound >= 1.18.0, < 1.19.2 Fixed in: NLnet Labs Unbound 1.19.2 Steps: 1. Search this machine and project for NLnet Labs Unbound: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4VCBRQ7KMSIGBQ6A4SBL5PF326DIJIIV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B2JUIFPA7H75Q2W3VXW2TUNHK6NVGOX4/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBR4H7RCVMJ6H76S4LLRSY5EBFTYWGXK/
- https://lists.freebsd.org/archives/freebsd-security/2024-July/000283.html
- https://security.netapp.com/advisory/ntap-20240705-0006/
FAQ
Is CVE-2024-1931 being exploited?
There is no confirmed exploitation: CVE-2024-1931 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-1931?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-1931?
NLnet Labs Unbound >= 1.18.0, < 1.19.2.
Is there a fix for CVE-2024-1931?
Yes. Fixed in NLnet Labs Unbound 1.19.2. Upgrade Unbound to 1.19.2 or later.
How do I check if I'm affected by CVE-2024-1931?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.