ALPINE-CVE-2024-1931
Record from OSV · Published March 7, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| unbound | Alpine:v3.19 | 1.19.2-r0 |
| unbound | Alpine:v3.21 | 1.19.2-r0 |
| unbound | Alpine:v3.18 | 1.19.2-r0 |
| unbound | Alpine:v3.20 | 1.19.2-r0 |
| unbound | Alpine:v3.22 | 1.19.2-r0 |
| unbound | Alpine:v3.17 | 1.19.2-r0 |
| unbound | Alpine:v3.23 | 1.19.2-r0 |
| unbound | Alpine:v3.24 | 1.19.2-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.19 | unbound | 0, 1.10.0-r0, 1.10.1-r0 |
| Alpine:v3.21 | unbound | 1.4.10-r3, 1.13.0-r3, 1.9.3-r0 |
| Alpine:v3.18 | unbound | 1.18.0, 1.17.1-r0, 1.4.19-r1 |
| Alpine:v3.20 | unbound | 1.6.1-r0, 1.10.0-r0, 1.10.1-r0 |
| Alpine:v3.22 | unbound | 1.10.1-r0, 1.10.1-r1, 1.11.0-r0 |
| Alpine:v3.17 | unbound | 1.13.2-r1, 1.18.0, 1.6.7-r1 |
| Alpine:v3.23 | unbound | 1.10.1-r0, 1.18.0, 1.13.0-r1 |
| Alpine:v3.24 | unbound | 1.18.0 |
Timeline
- Mar 7, 2024 CVE Published
- Jul 8, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2024-1931
vulnetix vdb fixes ALPINE-CVE-2024-1931
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2024-1931/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart