Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-1931
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-1931 affects NLnet Labs Unbound versions 1.18.0 through 1.19.1. The vulnerability was discovered in March 2024 and can cause a denial of service through an infinite loop condition. The issue specifically affects installations where the non-default 'ede: yes' option is enabled (Vendor Advisory).

Technical details

The vulnerability stems from a feature introduced in Unbound 1.18.0 that removes Extended DNS Error (EDE) records from responses when they exceed the client's advertised buffer size. When attempting to trim the text fields of EDE records to retain EDE codes while meeting size constraints, an unchecked condition can result in an infinite loop. This occurs specifically when Unbound would reply with attached EDE information on a positive reply and the client's buffer size is smaller than the required space for EDE records. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When successfully exploited, this vulnerability can lead to a denial of service condition by causing the server to enter an infinite loop, affecting the availability of the DNS resolver service (NetApp Advisory).

Exploitability

The vulnerability can only be exploited when specific conditions are met: the 'ede: yes' option must be enabled (which is not the default configuration), Unbound must reply with attached EDE information on a positive reply, and the client's buffer size must be relatively smaller than the needed space to include EDE records (Vendor Advisory).

Mitigation and workarounds

There are two primary mitigation options: either disable EDE support with 'ede: no' (which is the default configuration) or upgrade to Unbound version 1.19.2 or later, which contains the fix. For those unable to upgrade immediately, a manual patch is available that can be applied to affected versions (Vendor Advisory).

Community reactions

The vulnerability has been acknowledged and addressed by multiple organizations, including NetApp and various Linux distributions. FreeBSD security teams have discussed the impact, noting that their base system unbound configuration is not vulnerable by default but cautioning users against enabling the EDE option (FreeBSD List).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

unbound

Fixed

bullseye

unbound

Fixed

sid

unbound: 1.19.2-1

Fixed

trixie

unbound: 1.19.2-1

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • gcc-toolset-15-binutils-devel
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management