Unbound: Loop with Unreachable Exit Condition
CVE-2024-1931 is a high-severity loop with unreachable exit condition vulnerability in Unbound from NLnet Labs, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 1.19.2 as the first without the flaw, so updating Unbound to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 2.52% chance of exploitation within 30 days, higher than 85% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Unbound to 1.19.2 or a later version.
- Update unbound to 1.19.2 or a later version.
- Read the advisory on nlnetlabs.nl for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| NLnet Labs | Unbound | 1.18.0 up to, but not including, 1.19.2 | 1.19.2 |
| Nlnetlabs | unbound | 1.18.0 up to, but not including, 1.19.2 | 1.19.2 |
| Fedora Project | Fedora | 38; 39; 40 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | CNA (nlnetlabs.nl) |
| CVSS 3.1 | 7.5 | High | NVD |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Loop with Unreachable Exit Condition
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
More Loop with Unreachable Exit Condition vulnerabilities (CWE-835)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- security.netapp.com/advisory/ntap-20240705-0006/Third Party Advisory
Other references
- lists.fedoraproject.org/archives/list/[email protected]/message/4VCBRQ7KMSIGBQ6A4SBL5P…Product
- lists.fedoraproject.org/archives/list/[email protected]/message/B2JUIFPA7H75Q2W3VXW2TU…Product
- lists.fedoraproject.org/archives/list/[email protected]/message/RBR4H7RCVMJ6H76S4LLRSY…Product
- lists.freebsd.org/archives/freebsd-security/2024-July/000283.htmlIssue Tracking, Mailing List
Other vulnerabilities in Unbound
- 7.5 High severity
- 7.5 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 7.5 High severity
- 7.5 High severity
Recent Loop with Unreachable Exit Condition vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.