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

High 7.5 Published Updated

An attacker can cause denial of service in Aardvark DNS by keeping TCP connections open, blocking legitimate DNS queries.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-8418?

CVE-2024-8418 is a high-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 4 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-400

Which versions are affected by CVE-2024-8418?

2 open source packages ship an affected version, including aardvark-dns. It affects 1 product.

PackageAffectedFixed in
aardvark-dns crates.ioFrom 1.12.01.12.2
aardvark-dns crates.ioFrom 1.12.01.12.2
Linux distribution packages (6)
aardvark-dns AlmaLinux:9All versions2:1.14.0-1.el9
aardvark-dns Red Hat:enterprise_linux:9::appstreamAll versions2:1.14.0-1.el9
aardvark-dns-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions2:1.14.0-1.el9
aardvark-dns-debugsource Red Hat:enterprise_linux:9::appstreamAll versions2:1.14.0-1.el9
aardvark-dns Rocky Linux:9All versions2:1.14.0-1.el9
aardvark-dns openSUSE:TumbleweedAll versions1.12.2-1.1

Products include Containers Aardvark-Dns.

How do I fix CVE-2024-8418?

Upgrade aardvark-dns to 1.12.2 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-8418 being exploited?

There is no known exploitation of CVE-2024-8418 in the wild and no public exploit code.

Sources

Also known as ALSA-2025:7094, BELL-CVE-2024-8418, CLEANSTART-2025-BG45728, DEBIAN-CVE-2024-8418, GHSA-g5jh-57wm-p79m, RHSA-2025:7094 and 2 more.

Is CVE-2024-8418 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free