ADVISORIES

GitHub Advisory Database

GHSA-5j98-2g5x-46v6

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.

Affected packages

EcosystemPackageAffected versions
crates.iohickory-resolver
All versions before 0.26.2 (fixed in 0.26.2)

References