CVE-2024-8418: Aardvark dns Missing Connection Timeout Vulnerability
HIGHCVE-2024-8418 is a HIGH (CVSS 7.5) missing connection timeout vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Aardvark dns libraries in the crates.io ecosystem. The issue involves missing connection timeout in aardvark-dns. Remediation is available by upgrading affected packages to version 1.12.2.
CVE-2024-8418 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2024-8418
To remediate this vulnerability, upgrade all affected Aardvark dns dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade aardvark-dns to 1.12.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for aardvark-dns
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-8418, inspect your project dependencies for Aardvark dns:
inspect dependencies for aardvark-dns
Analyze the terminal output to locate any version of Aardvark dns in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Aardvark dns, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-8418 Affected Aardvark dns Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aardvark-dns
|
crates.io |
≥ 1.12.0
< 1.12.2
|
1.12.2
|
References
Frequently Asked Questions
What is CVE-2024-8418?
Which Aardvark dns versions are affected?
What version fixes CVE-2024-8418?
Is aardvark-dns affected?
What is the CVSS score of CVE-2024-8418?
What CWE is associated with CVE-2024-8418?
How can I check crates.io dependencies for CVE-2024-8418?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g5jh-57wm-p79m",
"modified" : "2025-05-14T19:15:26Z",
"published" : "2024-09-04T15:30:36Z",
"aliases" : [ "CVE-2024-8418" ],
"summary" : "Missing connection timeout in Aardvark-dns",
"details" : "A flaw was found in Aardvark-dns versions 1.12.0 and 1.12.1. They contain a denial of service vulnerability due to serial processing of TCP DNS queries. This flaw allows a malicious client to keep a TCP connection open indefinitely, causing other DNS queries to time out and resulting in a denial of service for all other containers using aardvark-dns.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "aardvark-dns"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12.0"
}, {
"fixed" : "1.12.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-8418"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/aardvark-dns/issues/500"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/aardvark-dns/pull/503"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/aardvark-dns/commit/aa109bbd6743abd7027e589cc4b871dd2dce7d50"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:7094"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-8418"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2309683"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/containers/aardvark-dns"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-04T17:22:36Z",
"nvd_published_at" : "2024-09-04T15:15:15Z"
}
}