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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | rust-hickory-proto | 0.24.3-1 | DEBIAN-CVE-2025-25188 |
| Debian:14 | rust-hickory-proto | 0.24.3-1 | DEBIAN-CVE-2025-25188 |
| Ubuntu:24.04:LTS | rust-hickory-proto | no fix listed | UBUNTU-CVE-2025-25188 |
| Ubuntu:25.10 | rust-hickory-proto | no fix listed | UBUNTU-CVE-2025-25188 |
| Ubuntu:26.04:LTS | rust-hickory-proto | no fix listed | UBUNTU-CVE-2025-25188 |
| Ubuntu:26.10 | rust-hickory-proto | no fix listed | UBUNTU-CVE-2025-25188 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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