github 0xERR0R/blocky v0.37.0

38 minutes ago

DNSSEC security fixes

Thanks to @kevinpark1217 for reporting these seven findings, fixing them, and contributing regression tests. If you use Blocky’s built-in validator (dnssec.validate: true), upgrade to v0.37.0. Six fixes affect earlier releases; the seventh hardens code introduced during development of v0.37.0.

  • Chain of trust (GHSA-rfc7-q64c-hj2f): DS and DNSKEY records must belong to the zone being validated. If Blocky cannot complete validation beneath a trust anchor, it returns SERVFAIL rather than serving unchecked data.
  • Complete answers (GHSA-8mfq-h5hh-mqf2): Blocky checks that the answer matches the question and response code. A signed alias leading to unsigned data no longer marks the whole answer as authenticated (AD).
  • Authority for negative answers (GHSA-6fgw-qmpq-vwxp): Proof that a name or record does not exist must come from the zone responsible for it. A signature from another zone is not sufficient.
  • Wildcard and denial proofs (GHSA-mv8x-2h8p-g3wh): Blocky now requires complete proofs for wildcard answers, nonexistent names (NXDOMAIN), and missing record types (NODATA), including checking for aliases where required.
  • NSEC3 Opt-Out (GHSA-583r-m4vv-q43p): Blocky requires a complete proof from the parent before treating a delegation as unsigned.
  • RSA signature failures (GHSA-g35c-mff8-4w2w): A failed signature under a supported algorithm is rejected rather than treated as evidence that the data is unsigned.
  • Validation work limits (development builds only; GHSA-vgm3-vqcv-4hv6): Blocky bounds RSA exponent size and signature-verification work per query. No prior release shipped the large-exponent fallback affected by this finding.

Changelog

Features

Bug fixes

Build and dependencies

Misc


❤️ Support Blocky

Blocky is free and open source, developed in my spare time — no telemetry, no ads, no hidden
filtering. If it's useful to you, please consider supporting its continued development:

GitHub Sponsors ·
thanks.dev ·
Liberapay ·
Ko-fi ·
PayPal

Thank you to everyone supporting Blocky! 🙏

Don't miss a new blocky release

NewReleases is sending notifications on new releases.