Skip to content
OpenAdvisories
Medium · 5.7 CVE-2025-25188 EUVD-2025-4078GHSA-37wc-h8xc-5hc4

DNSSEC validation may accept broken authentication chains

Published Feb 10, 2025 · Updated Feb 12, 2025 · Assigned by GitHub_M

Description

Hickory DNS is a Rust based DNS client, server, and resolver. A vulnerability present starting in version 0.8.0 and prior to versions 0.24.3 and 0.25.0-alpha.5 impacts Hickory DNS users relying on DNSSEC verification in the client library, stub resolver, or recursive resolver. The DNSSEC validation routines treat entire RRsets of DNSKEY records as trusted once they have established trust in only one of the DNSKEYs. As a result, if a zone includes a DNSKEY with a public key that matches a configured trust anchor, all keys in that zone will be trusted to authenticate other records in the zone. There is a second variant of this vulnerability involving DS records, where an authenticated DS record covering one DNSKEY leads to trust in signatures made by an unrelated DNSKEY in the same zone. Versions 0.24.3 and 0.25.0-alpha.5 fix the issue.

Affected products

VendorProductAffectedFixed
hickory-dns hickory-dns >= 0.8.0, < 0.24.3, >= 0.25.0-alpha.1, < 0.25.0-alpha.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-hickory-proto 0.24.3-1 —
Debian 13 rust-hickory-proto 0.24.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-hickory-proto No fix yet —
Ubuntu 26.04 LTS rust-hickory-proto No fix yet —
Ubuntu 25.10 rust-hickory-proto No fix yet —
Ubuntu 24.04 LTS rust-hickory-proto No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling linkerd2-proxy 2.278.0-r1 —
Wolfi rolling shadowsocks-rust 1.22.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io hickory-proto >= 0.8.0, < 0.24.3 0.24.3 GHSA-37wc-h8xc-5hc4

References