GitHub Advisoryadvisory · crates.io

GHSA-5j98-2g5x-46v6 hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures

HIGH Published 2026-10-05 Modified 2026-10-05 Official page ↗
Ecosystem
crates.io
Packages
hickory-resolver
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-347
Reviewed
2026-10-05

Affected packages

• crates.io hickory-resolver: < 0.26.2 → fixed in 0.26.2

Description

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.

Related

Weakness · CWE (1)

  • CWE-347 Improper Verification of Cryptographic Signature weakness

References