GHSA-XV7C-H5G9-X25X
transient DS-fetch error inappropriately cached as BOGUS
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-XV7C-H5G9-X25X divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Remediación | Parche 0.26.2 | hickory-net · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
A logic bug in `DnssecDnsHandle`'s DS-fetch path causes a transient, non-deterministic failure on a single DS lookup to be cached as a permanent-looking validation verdict for the entire child zone. When the validating client issues a `<child>/DS` sub-query as part of DNSKEY chain validation and the upstream returns a transport-class error (SERVFAIL, REFUSED, timeout), the implementation discards the underlying transport error and returns a Proof::Bogus verdict whose kind is `DsRecordShouldExist`, not `Net`. The DNSSEC validation cache's "don't cache transient errors" guard only matches `ProofErrorKind::Net`, so this synthetic Bogus verdict gets inserted into the validation cache keyed on the legitimate `<child>/DNSKEY` rrset. Every subsequent validation of any name under `<child>` then short-circuits on the cached Bogus entry and returns SERVFAIL to the client without re-asking the parent for the DS record, until the cache entry's TTL expires.
When built with dnssec support (`dnssec-aws-lc-rs` or `dnssec-ring` features active), `hickory-proto` v0.25.0-alpha.1. .. 0.26.0-alpha.1 are affected. Subsequently the affected code was migrated to `hickory-net`, where under the same dnssec-enabled configuration versions 0.26.0-beta.1 .. 0.26.1 are affected.
Reporter:
Qifan Zhang, Palo Alto Networks
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iohickory-proto |
Sin parche | — | — | 0.26.3 afectada |
crates.iohickory-net |
Corregida | 0.26.2 | 0 d | 0.26.3 no afectada |
0.26.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-xv7c-h5g9-x25xLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
