GHSA-5j98-2g5x-46v6: hickory-resolver Resolver::lookup() And Resolver::lookup_ip() APIs Obscure Vulnerability

HIGH
CVSS 7.5
CWE-347
Published
Advisory Summary

GHSA-5j98-2g5x-46v6 is a HIGH (CVSS 7.5) resolver::lookup() and resolver::lookup_ip() apis obscure vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting hickory-resolver libraries in the crates.io ecosystem. The issue involves resolver::lookup() and resolver::lookup_ip() apis obscure dnssec validation failures. Remediation is available by upgrading affected packages to version 0.26.2.

GHSA-5j98-2g5x-46v6 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-5j98-2g5x-46v6
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-347: Improper Verification of Cryptographic Signature
Affected Product hickory-resolver
Package Ecosystem crates.io
Published Date
Last Updated

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:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix GHSA-5j98-2g5x-46v6

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.

hickory-resolver fixed: 0.26.2
Upgrade hickory-resolver to 0.26.2
Verify Direct and Transitive Dependencies

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-5j98-2g5x-46v6, 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-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. 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

When calling `Resolver::lookup()` or `Resolver::lookup_ip()` on a resolver with DNSSEC validation enabled, both methods return `Ok(...)` if DNSSEC validation fails. It is possible but very inconvenient to check the validation status of individual records. These methods should instead return an error when DNSSEC validation determines a response is bogus.

GHSA-5j98-2g5x-46v6 Affected hickory-resolver Versions

1 component(s)
Fixed Versions:
0.26.2
Product / Package Ecosystem Affected Versions Fixed Version
hickory-resolver
crates.io
< 0.26.2
0.26.2

References

Frequently Asked Questions

What is GHSA-5j98-2g5x-46v6?
GHSA-5j98-2g5x-46v6 is a security vulnerability in hickory-resolver involving Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures under CWE-347: Improper Verification of Cryptographic Signature.
Which hickory-resolver versions are affected?
Affected versions include releases prior to 0.26.2 across affected packages: hickory-resolver.
What version fixes GHSA-5j98-2g5x-46v6?
Upgrading to 0.26.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hickory-resolver affected?
Yes, hickory-resolver is affected in releases prior to 0.26.2. Upgrade your dependency to 0.26.2 or later.
What is the CVSS score of GHSA-5j98-2g5x-46v6?
GHSA-5j98-2g5x-46v6 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with GHSA-5j98-2g5x-46v6?
GHSA-5j98-2g5x-46v6 is classified under CWE-347: Improper Verification of Cryptographic Signature (The product does not verify, or incorrectly verifies, the cryptographic signature for data.).
How can I check crates.io dependencies for GHSA-5j98-2g5x-46v6?
Run the dependency tree command: 'inspect dependencies for hickory-resolver'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5j98-2g5x-46v6",
  "modified" : "2026-10-05T22:54:35Z",
  "published" : "2026-10-05T22:54:35Z",
  "aliases" : [ ],
  "summary" : "hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures",
  "details" : "When calling `Resolver::lookup()` or `Resolver::lookup_ip()` on a resolver with DNSSEC validation enabled, both methods return `Ok(...)` if DNSSEC validation fails. It is possible but very inconvenient to check the validation status of individual records. These methods should instead return an error when DNSSEC validation determines a response is bogus.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "hickory-resolver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.26.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-5j98-2g5x-46v6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hickory-dns/hickory-dns/pull/3871"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hickory-dns/hickory-dns/commit/92f93c0b889f6a292bc943304d88c4c6561fe1b9"
  }, {
    "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-347" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-05T22:54:35Z",
    "nvd_published_at" : null
  }
}