]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fail DNSKEY validation when supported but invalid DS is found
authorOndřej Surý <ondrej@isc.org>
Mon, 23 Feb 2026 05:13:59 +0000 (06:13 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 24 Feb 2026 10:56:30 +0000 (11:56 +0100)
commit585bf1bddc0ab180c5cc75fa54895bad40ade8b3
tree244ca7ff680399ec4938d1ef968e6331429b7f66
parent06a671a0ef9d8afe730b8f54dbf2dddbca78fb64
Fail DNSKEY validation when supported but invalid DS is found

A regression was introduced when adding the EDE code for unsupported
DNSKEY and DS algorithms.  When the parent has both supported and
unsupported algorithm in the DS record, the validator would treat the
supported DS algorithm as insecure when validating DNSKEY records
instead of BOGUS.  This has not security impact as the rest of the child
zone correctly ends with BOGUS status, but it is incorrect and thus the
regression has been fixed.

(cherry picked from commit f983a6415293bf26e5001b44a202a618f60dbf34)
lib/dns/include/dns/validator.h
lib/dns/validator.c