CVE-2024-1931 Denial of service when trimming EDE text on positive replies
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
14 packages: 13 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/unbound(Alpine v3.17) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| alpine/unbound(Alpine v3.18) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| alpine/unbound(Alpine v3.19) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| alpine/unbound(Alpine v3.20) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| alpine/unbound(Alpine v3.21) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| alpine/unbound(Alpine v3.22) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| alpine/unbound(Alpine v3.23) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| alpine/unbound(Alpine v3.24) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 | Fixed |
| debian/unbound(Debian 13) | < 1.19.2-1 | 1.19.2-1 | Fixed |
| debian/unbound(Debian 14) | < 1.19.2-1 | 1.19.2-1 | Fixed |
| NLnet Labs Unbound | >= 1.18.0, < 1.19.2 | 1.19.2 | Fixed |
| nlnetlabs unbound | >= 1.18.0, < 1.19.2 | 1.19.2 | Fixed |
| ubuntu/unbound(Ubuntu 24.04) | < 1.19.2-1ubuntu1; = 1.17.1-2; = 1.18.0-2ubuntu1; = 1.18.0-2ubuntu2 +1 more | 1.19.2-1ubuntu1 | Fixed |
| fedoraproject fedora | = 38; = 39; = 40 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/unbound(Debian:13) | < 1.19.2-1 | 1.19.2-1 |
| debian/unbound(Debian:14) | < 1.19.2-1 | 1.19.2-1 |
| NLnet Labs Unbound | >= 1.18.0, < 1.19.2 | 1.19.2 |
| nlnetlabs unbound | >= 1.18.0, < 1.19.2 | 1.19.2 |
| alpine/unbound(Alpine:v3.17) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| alpine/unbound(Alpine:v3.18) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| alpine/unbound(Alpine:v3.19) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| alpine/unbound(Alpine:v3.20) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| alpine/unbound(Alpine:v3.21) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| alpine/unbound(Alpine:v3.22) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| alpine/unbound(Alpine:v3.23) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| alpine/unbound(Alpine:v3.24) | >= 1.18.0, < 1.19.2-r0 | 1.19.2-r0 |
| ubuntu/unbound(Ubuntu:24.04) | < 1.19.2-1ubuntu1 | 1.19.2-1ubuntu1 |
| fedoraproject fedora | = 38 | No fix listed |
| fedoraproject fedora | = 39 | No fix listed |
| fedoraproject fedora | = 40 | No fix listed |
| ubuntu/unbound(Ubuntu:24.04) | = 1.17.1-2 | No fix listed |
| ubuntu/unbound(Ubuntu:24.04) | = 1.18.0-2ubuntu1 | No fix listed |
| ubuntu/unbound(Ubuntu:24.04) | = 1.18.0-2ubuntu2 | No fix listed |
| ubuntu/unbound(Ubuntu:24.04) | = 1.19.1-1ubuntu1 | No fix listed |
References
- Debian Security Tracker CVE-2024-1931 vendor-advisory
- www.nlnetlabs.nl issue-tracking vendor-advisory
- lists.fedoraproject.org product
- lists.fedoraproject.org product
- lists.fedoraproject.org product
- lists.freebsd.org issue-tracking mailing-list
- security.netapp.com third-party-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking