# CVE-2024-8418: Containers/aardvark-dns: tcp query handling flaw in aardvark-dns leading to denial of service

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.39% (percentile 72, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-g5jh-57wm-p79m
- **Published:** 2024-09-04T14:24:03.276Z
- **Modified:** 2026-11-24T07:17:10.937Z

## Who should check

- Projects that depend on crates.io package aardvark-dns (\>= 1.12.0, \< 1.12.2)
- Anyone running containers/aardvark-dns 1.12.0; 1.12.1
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Red Hat Enterprise Linux 10 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 9 (versions: see the vendor advisory)
- Anyone running Red Hat OpenShift Container Platform 4 (versions: see the vendor advisory)

## Description

A flaw was found in Aardvark-dns, which is vulnerable to a Denial of Service attack due to the serial processing of TCP DNS queries. An attacker can exploit this flaw by keeping a TCP connection open indefinitely, causing the server to become unresponsive and resulting in other DNS queries timing out. This issue prevents legitimate users from accessing DNS services, thereby disrupting normal operations and causing service downtime.

## Affected and fixed versions

- crates.io `aardvark-dns`: affected \>= 1.12.0, \< 1.12.2; fixed 1.12.2 (osv)
- containers/aardvark-dns: 1.12.0; 1.12.1 (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 10: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 9: see vendor advisory (cvelist)
- Red Hat OpenShift Container Platform 4: see vendor advisory (cvelist)
- Red Hat OpenShift Container Platform 4: see vendor advisory (cvelist)

## Mitigation

- Upgrade aardvark-dns to 1.12.2 or later.
- Vendor workaround: It is advised to upgrade aardvark-dns to version 1.12.1 or higher.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-8418. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-8418.md
Affected: aardvark-dns >= 1.12.0, < 1.12.2
Fixed in: 1.12.2

Steps:
1. Search this machine and project for aardvark-dns (crates.io), containers/aardvark-dns, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat OpenShift Container Platform 4: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-8418 being exploited?

There is no confirmed exploitation: CVE-2024-8418 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.39% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-8418?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-8418?

aardvark-dns \>= 1.12.0, \< 1.12.2.

### Is there a fix for CVE-2024-8418?

Yes. Fixed in 1.12.2. Upgrade aardvark-dns to 1.12.2 or later. Vendor workaround: It is advised to upgrade aardvark-dns to version 1.12.1 or higher.

### How do I check if I'm affected by CVE-2024-8418?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2025:7094>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-8418>
- patch: <https://github.com/containers/aardvark-dns/pull/503>
- patch: <https://github.com/containers/aardvark-dns/commit/aa109bbd6743abd7027e589cc4b871dd2dce7d50>
- exploit: <https://github.com/containers/aardvark-dns/issues/500>
- other: <https://access.redhat.com/security/cve/CVE-2024-8418>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2309683>
- other: <https://github.com/containers/aardvark-dns>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-8418>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g5jh-57wm-p79m> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-8418> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-8418>
