| 1 |
.. Copyright (C) Internet Systems Consortium, Inc. ("ISC") |
| 2 |
.. |
| 3 |
.. SPDX-License-Identifier: MPL-2.0 |
| 4 |
.. |
| 5 |
.. This Source Code Form is subject to the terms of the Mozilla Public |
| 6 |
.. License, v. 2.0. If a copy of the MPL was not distributed with this |
| 7 |
.. file, you can obtain one at https://mozilla.org/MPL/2.0/. |
| 8 |
.. |
| 9 |
.. See the COPYRIGHT file distributed with this work for additional |
| 10 |
.. information regarding copyright ownership. |
| 11 |
|
| 12 |
Notes for BIND 9.20.15 |
| 13 |
---------------------- |
| 14 |
|
| 15 |
Security Fixes |
| 16 |
~~~~~~~~~~~~~~ |
| 17 |
|
| 18 |
- DNSSEC validation fails if matching but invalid DNSKEY is found. |
| 19 |
:cve:`2025-8677` |
| 20 |
|
| 21 |
Previously, if a matching but cryptographically invalid key was |
| 22 |
encountered during DNSSEC validation, the key was skipped and not |
| 23 |
counted towards validation failures. :iscman:`named` now treats such |
| 24 |
DNSSEC keys as hard failures and the DNSSEC validation fails |
| 25 |
immediately, instead of continuing with the next DNSKEYs in the RRset. |
| 26 |
|
| 27 |
ISC would like to thank Zuyao Xu and Xiang Li from the All-in-One |
| 28 |
Security and Privacy Laboratory at Nankai University for bringing this |
| 29 |
vulnerability to our attention. :gl:`#5343` |
| 30 |
|
| 31 |
- Address various spoofing attacks. :cve:`2025-40778` |
| 32 |
|
| 33 |
Previously, several issues could be exploited to poison a DNS cache |
| 34 |
with spoofed records for zones which were not DNSSEC-signed or if the |
| 35 |
resolver was configured to not do DNSSEC validation. These issues were |
| 36 |
assigned CVE-2025-40778 and have now been fixed. |
| 37 |
|
| 38 |
As an additional layer of protection, :iscman:`named` no longer |
| 39 |
accepts DNAME records or extraneous NS records in the AUTHORITY |
| 40 |
section unless these are received via spoofing-resistant transport |
| 41 |
(TCP, UDP with DNS cookies, TSIG, or SIG(0)). |
| 42 |
|
| 43 |
ISC would like to thank Yuxiao Wu, Yunyi Zhang, Baojun Liu, and Haixin |
| 44 |
Duan from Tsinghua University for bringing this vulnerability to our |
| 45 |
attention. :gl:`#5414` |
| 46 |
|
| 47 |
- Cache-poisoning due to weak pseudo-random number generator. |
| 48 |
:cve:`2025-40780` |
| 49 |
|
| 50 |
It was discovered during research for an upcoming academic paper that |
| 51 |
a xoshiro128\*\* internal state can be recovered by an external 3rd |
| 52 |
party, allowing the prediction of UDP ports and DNS IDs in outgoing |
| 53 |
queries. This could lead to an attacker spoofing the DNS answers with |
| 54 |
great efficiency and poisoning the DNS cache. |
| 55 |
|
| 56 |
The internal random generator has been changed to a cryptographically |
| 57 |
secure pseudo-random generator. |
| 58 |
|
| 59 |
ISC would like to thank Prof. Amit Klein and Omer Ben Simhon from |
| 60 |
Hebrew University of Jerusalem for bringing this vulnerability to our |
| 61 |
attention. :gl:`#5484` |
| 62 |
|
| 63 |
New Features |
| 64 |
~~~~~~~~~~~~ |
| 65 |
|
| 66 |
- Add :any:`dnssec-policy` keys configuration check to |
| 67 |
:iscman:`named-checkconf`. |
| 68 |
|
| 69 |
A new option :option:`-k <named-checkconf -k>` was added to |
| 70 |
:iscman:`named-checkconf` that allows checking the |
| 71 |
:any:`dnssec-policy` :any:`keys` configuration against the configured |
| 72 |
key stores. If the found key files are not in sync with the given |
| 73 |
:any:`dnssec-policy`, the check will fail. |
| 74 |
|
| 75 |
This is useful to run before migrating to :any:`dnssec-policy`. |
| 76 |
:gl:`#5486` |
| 77 |
|
| 78 |
Bug Fixes |
| 79 |
~~~~~~~~~ |
| 80 |
|
| 81 |
- Missing DNSSEC information when CD bit is set in query. |
| 82 |
|
| 83 |
The RRSIGs for glue records were not being cached correctly for CD=1 |
| 84 |
queries. This has been fixed. :gl:`#5502` |
| 85 |
|
| 86 |
- :option:`rndc sign` during ZSK rollover will now replace signatures. |
| 87 |
|
| 88 |
When performing a ZSK rollover, if the new DNSKEY is omnipresent, the |
| 89 |
:option:`rndc sign` command now signs the zone completely with the |
| 90 |
successor key, replacing all zone signatures from the predecessor key |
| 91 |
with new ones. :gl:`#5483` |
| 92 |
|
| 93 |
- Use signer name when disabling DNSSEC algorithms. |
| 94 |
|
| 95 |
:any:`disable-algorithms` could cause DNSSEC validation failures when |
| 96 |
the parent zone was signed with the algorithms that were being |
| 97 |
disabled for the child zone. This has been fixed; |
| 98 |
:any:`disable-algorithms` now works on a whole-of-zone basis. |
| 99 |
|
| 100 |
If the zone's name is at or below the :any:`disable-algorithms` name |
| 101 |
the algorithm is disabled for that zone, using deepest match when |
| 102 |
there are multiple :any:`disable-algorithms` clauses. :gl:`#5165` |
| 103 |
|
| 104 |
- Preserve cache when reload fails and reload the server again. |
| 105 |
|
| 106 |
This fixes an issue where failing to reconfigure/reload the server |
| 107 |
would fail to preserve the views' caches for subsequent server |
| 108 |
reconfigurations/reloads. :gl:`#5523` |