Cloudanix VulnDB

CVE-2024-43167

Low · 2.8

CVSS

2.8

EPSS

0.4%

Published

Aug 12, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A rarely triggered coding mistake can make the DNS software crash if someone runs certain local commands in exactly the right order, but experts disagree on whether this is actually a security problem.

Exploitation
Requires User Interaction
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

NULL pointer dereference in ub_ctx_set_fwd when specific sequences of API calls (such as ub_ctx_set_fwd followed by ub_ctx_resolvconf) are invoked, resulting in a segmentation fault and process termination.

Why it matters to the business

Low-risk denial-of-service condition limited to local API misuse with minimal likelihood of impact in production deployments; disputed by the upstream developer as within expected behavior and controls.

How an attack unfolds

An attacker with the ability to invoke Unbound resolver library APIs in a controlled local context calls ub_ctx_set_fwd and related functions in a crafted order that triggers the NULL dereference, crashing the process.

How to fix it

No vendor fixes are published; consult Red Hat or NLnet Labs documentation for any configuration hardening or API usage guidance. Monitor upstream Unbound releases for potential behavioral changes.

How to confirm the fix worked

Review application source or runtime logs for NULL dereference crashes in ub_ctx_set_fwd; test API call sequences in isolated environments to confirm crash behavior is absent after any configuration or library updates.

Typical attack path

  1. Obtain local access or control sufficient to load and call Unbound resolver APIs
  2. Invoke ub_ctx_set_fwd followed by ub_ctx_resolvconf (or equivalent sequence) in rapid succession
  3. Trigger NULL pointer dereference causing segmentation fault
  4. Observe application termination resulting in denial of service

How to detect it

Search process crash logs and core dumps for segmentation faults originating from ub_ctx_set_fwd; review local application logs for repeated resolver initialization failures around the time of the reported crash.

What your security team should do

  • Treat as low priority given disputed security impact and very low EPSS
  • Restrict local access to resolver library APIs where feasible
  • Monitor for any future upstream statements resolving the dispute

The record

DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by the original software developer, NLnet Labs) falls within the expected functionality and security controls of the application. Red Hat has made a claim that there is a security risk within Red Hat products. NLnet Labs has no further information about the claim, and suggests that affected Red Hat customers refer to available Red Hat documentation or support channels. ORIGINAL DESCRIPTION: A NULL pointer dereference flaw was found in the ub_ctx_set_fwd function in Unbound. This issue could allow an attacker who can invoke specific sequences of API calls to cause a segmentation fault. When certain API functions such as ub_ctx_set_fwd and ub_ctx_resolvconf are called in a particular order, the program attempts to read from a NULL pointer, leading to a crash. This issue can result in a denial of service by causing the application to terminate unexpectedly.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 unbound 0 1.13.1-1+deb11u3
Debian:12 unbound 0 No fix
Debian:13 unbound 0 No fix
Debian:14 unbound 0 1.21.1-1
Mageia:9 unbound 0 1.21.0-1.mga9
SUSE:Linux Enterprise Micro 5.5 unbound 0 1.20.0-150100.10.16.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5 unbound 0 1.20.0-150100.10.16.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 unbound 0 1.20.0-150600.23.6.1
SUSE:Linux Enterprise Module for Package Hub 15 SP5 unbound 0 1.20.0-150100.10.16.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 unbound 0 1.20.0-150600.23.6.1
Ubuntu:20.04:LTS unbound 0 1.9.4-2ubuntu1.8
Ubuntu:22.04:LTS unbound 0 1.13.1-1ubuntu5.7
Ubuntu:24.04:LTS unbound 0 1.19.2-1ubuntu3.2
Ubuntu:Pro:14.04:LTS unbound 0 1.4.22-1ubuntu4.14.04.3+esm1
Ubuntu:Pro:16.04:LTS unbound 0 1.5.8-1ubuntu1.1+esm1
Ubuntu:Pro:18.04:LTS unbound 0 1.6.7-1ubuntu2.6+esm2
openSUSE:Leap 15.5 unbound 0 1.20.0-150100.10.16.1
openSUSE:Leap 15.6 unbound 0 1.20.0-150600.23.6.1
openSUSE:Tumbleweed unbound 0 1.21.0-1.1

Related vulnerabilities