]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] [CVE-2025-8677] sec: test: Test that DNSSEC validation is aborted on malformed...
authorNicki Křížek <nicki@isc.org>
Mon, 5 Jan 2026 14:41:19 +0000 (15:41 +0100)
committerNicki Křížek <nicki@isc.org>
Mon, 5 Jan 2026 14:41:19 +0000 (15:41 +0100)
commit04b4ff606d5ece0f52bf91fd04b651d438c082b9
tree2b9e5123c00dd02df0834077c122974fb467c169
parent9e7ad999f412b402db5afcfba48fe7d8de64bc28
parentccfe50a9b1c6a6ebb63b0bb23c24a7d6a0537763
[9.20] [CVE-2025-8677] sec: test: Test that DNSSEC validation is aborted on malformed DNSKEY

Create a signed zone file that contains malformed ZSKs with colliding
key tags. The ZSKs don't represent valid ECDSA keys and will cause a
crypto failure when attempting to use them. Sign the zone with KSK, with
the exception of one record which is "signed" with the invalid ZSKs.

Check that the resolver aborts the DNSSEC verification after
encountering the first crypto failure, indicating malformed DNSKEY.

Closes #5343

Backport of MR !11425

Merge branch 'backport-5343-count-invalid-keys-into-validation-fails-test-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11427