ADVISORIES

RustSec Advisory Database

RUSTSEC-2026-0512

DNSSEC validation accepted an unrelated signed RRset as the answer (hickory-proto)

Details

Up to 0.26.0-alpha.1, hickory-proto's DNSSEC validation treated a response with a non-empty answer section as a positive answer if its records validated, without checking that any of them matched the queried name and type. Someone who can answer or modify DNS responses could return a genuine signed RRset for another name or type and have it accepted as a validated answer.

From 0.26.0-beta.1 the DNSSEC validation code lives in the hickory-net crate, where this was fixed in hickory-net 0.26.2. No hickory-proto release contains a fix. Users of DNSSEC validation in older hickory-proto releases (directly or through hickory-resolver or hickory-recursor) should move to the 0.26.2 or later releases, which validate through hickory-net.

Affected packages

EcosystemPackageAffected versions
crates.iohickory-proto
From 0.0.0-0 before 0.26.0-beta.1 (fixed in 0.26.0-beta.1)

References