PT-2024-2045 · Nlnet+2 · Unbound+2
Fredrik Pettai
+1
·
Published
2024-03-07
·
Updated
2025-02-03
·
CVE-2024-1931
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Unbound versions 1.18.0 through 1.19.1
Description
The issue is related to a denial of service vulnerability caused by an infinite loop in the code. This occurs when Unbound tries to trim extra text fields from EDE records to fit within the client's advertised buffer size, but due to an unchecked condition, the code can loop indefinitely. This happens when Unbound replies with attached EDE information on a positive reply and the client's buffer size is smaller than needed. The vulnerability can only be triggered when the 'ede: yes' option is used, which is a non-default configuration.
Recommendations
For Unbound versions 1.18.0 through 1.19.1, update to version 1.19.2 or later to fix the code and avoid looping indefinitely.
As a temporary workaround, consider disabling the 'ede: yes' option until a patch is available.
Fix
DoS
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Red Os
Unbound