CVE-2024-43168
Medium · 4.8CVSS
4.8
EPSS
0.3%
Published
Aug 12, 2024
CISA due date
—
Cloudanix analysis
A local user might be able to make a DNS program crash or behave unexpectedly by feeding it unusual setup information, though the program's maker says this is not actually a security problem.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- Network Service
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-buffer-overflow in cfg_mark_ports within config_file.c leads to memory corruption from specially crafted local input.
Why it matters to the business
Potential application crash or limited unauthorized actions on systems running affected Unbound packages; however the original developer disputes any security risk exists beyond expected controls, while Red Hat asserts exposure in its products, creating uncertainty for operators until vendor-specific guidance is followed.
How an attack unfolds
An attacker with local access supplies crafted configuration input that triggers the overflow during parsing; the developer maintains this stays within normal security boundaries, yet Red Hat reports possible memory corruption paths that could be abused for denial of service or code execution.
How to fix it
Consult Red Hat documentation or support channels for product-specific guidance; monitor upstream NLnet Labs statements regarding the disputed issue and apply any vendor patches if released.
How to confirm the fix worked
Verify Unbound version and configuration handling against Red Hat advisories; test configuration parsing with known benign inputs to confirm stability.
Typical attack path
- Obtain local access to a system running the vulnerable Unbound build
- Prepare and supply specially crafted configuration data to the cfg_mark_ports path
- Trigger configuration processing to induce heap corruption
- Observe crash or attempt to leverage corruption for further actions
How to detect it
Examine local process logs and crash reports for Unbound configuration parsing failures; look for unexpected memory-related terminations during config loading.
What your security team should do
- Review Red Hat security notices for affected packages and apply recommended updates
- Restrict local configuration modification privileges to trusted users only
- Monitor for any future upstream clarification from NLnet Labs
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 heap-buffer-overflow flaw was found in the cfg_mark_ports function within Unbound's config_file.c, which can lead to memory corruption. This issue could allow an attacker with local access to provide specially crafted input, potentially causing the application to crash or allowing arbitrary code execution. This could result in a denial of service or unauthorized actions on the system.
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 | 1.20.0-1 |
| Debian:14 | unbound | 0 | 1.20.0-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 |
Related vulnerabilities
- RUSTSEC-2026-0119 CPU exhaustion during message encoding due to O(n²) name compression Also affects unbound
- CVE-2024-8508 NLnet Labs Unbound up to and including version 1.21.0 contains a vulnerability when… Also affects unbound
- CVE-2024-43167 DISPUTE NOTE: this issue does not pose a security risk as it (according to analysis by… Also affects unbound
- CVE-2024-33655 The DNS protocol in RFC 1035 and updates allows remote attackers to cause a denial of… Also affects unbound
- CVE-2023-50868 The Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance… Also affects unbound
- CVE-2019-25031 Unbound before 1.9.5 allows configuration injection in create_unbound_ad_servers.sh upon… Also affects unbound
- CVE-2014-8602 iterator.c in NLnet Labs Unbound before 1.5.1 does not limit delegation chaining, which… Also affects unbound
- CVE-2026-112403 Pillow is a Python imaging library. CWE-122