CVE-2024-1931
published high CVSS 3.1 · 7.5Denial of service when trimming EDE text on positive replies
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NLnet Labs | — | Unbound1.18.0 to < 1.19.2 · Other versions: unaffected | Affected | Not stated | NLnet Labs |
| nlnetlabs | — | unbound1.18.0 to < 1.19.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | unbound | Fixed | 1.19.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | unboundaarch64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| Alpine Linux | v3.17 | unbound | Fixed | 1.19.2-r0 | Package fix record |
| Alpine Linux | v3.18 | unbound | Fixed | 1.19.2-r0 | Package fix record |
Show 29 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | unbound | Fixed | 1.19.2-r0 | Package fix record |
| Alpine Linux | v3.20 | unbound | Fixed | 1.19.2-r0 | Package fix record |
| Alpine Linux | v3.21 | unbound | Fixed | 1.19.2-r0 | Package fix record |
| Alpine Linux | v3.22 | unbound | Fixed | 1.19.2-r0 | Package fix record |
| Alpine Linux | v3.23 | unbound | Fixed | 1.19.2-r0 | Package fix record |
| Alpine Linux | v3.24 | unbound | Fixed | 1.19.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | unboundppc64le | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbounds390x | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unboundx86_64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libunbound8aarch64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libunbound8ppc64le | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libunbound8s390x | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libunbound8x86_64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-unboundaarch64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-unboundppc64le | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-unbounds390x | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-unboundx86_64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-anchoraarch64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-anchorppc64le | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-anchors390x | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-anchorx86_64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-develaarch64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-develppc64le | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-devels390x | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-develx86_64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-muninaarch64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-muninppc64le | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-munins390x | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | unbound-muninx86_64 | Advisory build | 1.19.2-1.1 | OPENSUSE-SU-2024:13762-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- NLnet Labs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: 'ede: yes' option set
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NLnet Labs | Unbound | 1.18.0 to < 1.19.2 (affected · semver)Default: unaffected | NLnet Labs · cna |
| nlnetlabs | unbound | 1.18.0 to < 1.19.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
6- https://lists.fedoraproject.org/archives/list/[email protected]/message/4VCBRQ7KMSIGBQ6A4SBL5PF326DIJIIV/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/B2JUIFPA7H75Q2W3VXW2TUNHK6NVGOX4/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RBR4H7RCVMJ6H76S4LLRSY5EBFTYWGXK/
- https://lists.freebsd.org/archives/freebsd-security/2024-July/000283.html
- https://security.netapp.com/advisory/ntap-20240705-0006/
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2024-1931.txt
Provider assertions
3NLnet Labs · cna
Denial of service when trimming EDE text on positive replies
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fd968354af11cc504bf2fbaf2a36760cf29b84f0f2680238cd2eb45897644aa8
- Ingested
- 23 Sep 2026, 08:18:22 UTC
- Source record
- Official CVE record