]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commitc5c68c1e9529efde3ebcd234dcbc4fb4840d7238
tree88d7c9551190eeb001efffaec0eaf20d319cd134
parenta75146cdbaced3d22824ae852406ec89d9aa9d4f
parent680e0d8532ead079ae3f40f35e13dc620e50d567
fix: usr: Check wildcard signer and NOQNAME signer match

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