]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: Check wildcard signer and NOQNAME signer match
authorEvan Hunt <each@isc.org>
Thu, 18 Jun 2026 17:47:51 +0000 (17:47 +0000)
committerEvan Hunt <each@isc.org>
Thu, 18 Jun 2026 17:47:51 +0000 (17:47 +0000)
A positive wildcard answer, and the NSEC3 proof that the requested
name doesn't exist in the zone, must both be from the same zone.
Otherwise, an NSEC3 from an ancestor zone could be used to interfere
with validation.

We now retrieve the signer name from a wildcard response's signature.
An NSEC3 record cannot be used as a NOQNAME proof for the
wildcard unless it exactly matches the name one level above the NSEC3.

Closes #5971

Merge branch '5971-wildcard-noqname-mismatch' into 'main'

See merge request isc-projects/bind9!12256


Trivial merge