GHSA-6f2x-v7q7-m7m5: Hickory resolver Hickory-resolver Follows Irrelevant CNAME Records Vulnerability
MODERATEGHSA-6f2x-v7q7-m7m5 is a MODERATE hickory-resolver follows irrelevant cname records vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Hickory resolver libraries in the crates.io ecosystem. The issue involves hickory-resolver follows irrelevant cname records. Remediation is available by upgrading affected packages to version 0.26.2.
GHSA-6f2x-v7q7-m7m5 at a Glance
How to Fix GHSA-6f2x-v7q7-m7m5
To remediate this vulnerability, upgrade all affected Hickory resolver 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 hickory-resolver to 0.26.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for hickory-resolver
How to Check if You Are Affected
To determine whether your application is affected by GHSA-6f2x-v7q7-m7m5, inspect your project dependencies for Hickory resolver:
inspect dependencies for hickory-resolver
Analyze the terminal output to locate any version of Hickory resolver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.26.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 Hickory resolver, 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
GHSA-6f2x-v7q7-m7m5 Affected Hickory resolver Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hickory-resolver
|
crates.io |
≥ 0.25.0
< 0.26.2
|
0.26.2
|
References
Frequently Asked Questions
What is GHSA-6f2x-v7q7-m7m5?
Which Hickory resolver versions are affected?
What version fixes GHSA-6f2x-v7q7-m7m5?
Is hickory-resolver affected?
What CWE is associated with GHSA-6f2x-v7q7-m7m5?
How can I check crates.io dependencies for GHSA-6f2x-v7q7-m7m5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6f2x-v7q7-m7m5",
"modified" : "2026-10-05T22:55:18Z",
"published" : "2026-10-05T22:55:18Z",
"aliases" : [ ],
"summary" : "hickory-resolver follows irrelevant CNAME records",
"details" : "When the Hickory DNS resolver follows CNAME records, it sends queries that are not necessary to answer the original recursive query. If there are any CNAME records in the authority section or additional section of the response, queries will be sent for those names. If there are any CNAME records that are not part of a CNAME chain starting from the original recursive query name, queries will be sent for those names. This increases query amplification beyond what is necessary to answer the recursive query.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "hickory-resolver"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.25.0"
}, {
"fixed" : "0.26.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-6f2x-v7q7-m7m5"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/pull/3871"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/commit/4689fc8d3ddd3e3f99ec1b7be4e2e9e78afd2e6b"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/commit/ccd6952378f250c714fc2af0cb1053e1c179f832"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hickory-dns/hickory-dns"
}, {
"type" : "WEB",
"url" : "https://github.com/hickory-dns/hickory-dns/releases/tag/v0.26.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-05T22:55:18Z",
"nvd_published_at" : null
}
}