Vulnerability · Published Feb 10, 2025 · Assigned by GitHub_M

CVE-2025-25188DNSSEC validation may accept broken authentication chains

Medium 5.7

In plain English

A medium-severity insufficient verification of data authenticity in hickory-dns from hickory-dns. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.7Medium
Exploit odds (30 days)0.3%top 79.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13rust-hickory-proto0.24.3-1DEBIAN-CVE-2025-25188
Debian:14rust-hickory-proto0.24.3-1DEBIAN-CVE-2025-25188
Ubuntu:24.04:LTSrust-hickory-protono fix listedUBUNTU-CVE-2025-25188
Ubuntu:25.10rust-hickory-protono fix listedUBUNTU-CVE-2025-25188
Ubuntu:26.04:LTSrust-hickory-protono fix listedUBUNTU-CVE-2025-25188
Ubuntu:26.10rust-hickory-protono fix listedUBUNTU-CVE-2025-25188

Affected products (as reported)

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

Weakness: CWE-345 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

References