Skip to content
OpenAdvisories
High · 7.5 CVE-2024-1931 EUVD-2024-17653GHSA-q63v-rwfp-q5p2

Denial of service when trimming EDE text on positive replies

Published Mar 7, 2024 · Updated Feb 13, 2025 · Assigned by NLnet Labs

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 products

VendorProductAffectedFixed
NLnet Labs Unbound 1.18.0 – < 1.19.2 1.19.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 unbound 1.19.2-1 —
Debian 13 unbound 1.19.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS unbound 1.19.2-1ubuntu1 —
ReleasePackageFixed inAdvisory
SLE Micro 6.0 unbound 1.21.0-1.1 SUSE-SU-2025:20024-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed unbound 1.19.2-1.1 openSUSE-SU-2024:13762-1
ReleasePackageFixed inAdvisory
Alpine v3.24 unbound 1.19.2-r0 —
Alpine v3.23 unbound 1.19.2-r0 —
Alpine v3.22 unbound 1.19.2-r0 —
Alpine v3.21 unbound 1.19.2-r0 —
Alpine v3.20 unbound 1.19.2-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 unbound 1.19.2-r0 —
Alpine v3.18 unbound 1.19.2-r0 —
Alpine v3.17 unbound 1.19.2-r0 —

Advisories 2

References