| 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.22 |
| 13 |
---------------------- |
| 14 |
|
| 15 |
Security Fixes |
| 16 |
~~~~~~~~~~~~~~ |
| 17 |
|
| 18 |
- Fix crash when reconfiguring zone update policy during active updates. |
| 19 |
|
| 20 |
We fixed a crash that could occur when running :option:`rndc reconfig` |
| 21 |
to change a zone's update policy (e.g., from :any:`allow-update` to |
| 22 |
:any:`update-policy`) while DNS UPDATE requests were being processed |
| 23 |
for that zone. |
| 24 |
|
| 25 |
ISC would like to thank Vitaly Simonovich for bringing this issue to |
| 26 |
our attention. :gl:`#5817` |
| 27 |
|
| 28 |
Bug Fixes |
| 29 |
~~~~~~~~~ |
| 30 |
|
| 31 |
- Fix intermittent :iscman:`named` crashes during asynchronous zone |
| 32 |
operations. |
| 33 |
|
| 34 |
Asynchronous zone loading and dumping operations occasionally |
| 35 |
dispatched tasks to the wrong internal event loop. This threading |
| 36 |
violation triggered internal safety assertions that abruptly |
| 37 |
terminated :iscman:`named`. Strict loop affinity is now enforced for |
| 38 |
these tasks, ensuring they execute on their designated threads and |
| 39 |
preventing the crashes. :gl:`#4882` |
| 40 |
|
| 41 |
- Count temporal problems with DNSSEC validation as attempts. |
| 42 |
|
| 43 |
After the KeyTrap vulnerability :cve:`2023-50387`, any temporal |
| 44 |
DNSSEC errors were originally hard errors that caused validation |
| 45 |
failures, even if the records had another valid signature. This has |
| 46 |
been changed; RRSIGs outside of the inception and expiration time are |
| 47 |
not counted as hard errors. However, these errors were not even |
| 48 |
counted as validation attempts, so an excessive number of expired |
| 49 |
RRSIGs would cause some non-cryptographic extra work for the |
| 50 |
validator. This has been fixed and the temporal errors are now |
| 51 |
correctly counted as validation attempts. :gl:`#5760` |
| 52 |
|
| 53 |
- Fix a possible deadlock in RPZ processing. |
| 54 |
|
| 55 |
The :iscman:`named` process could hang when processing a maliciously |
| 56 |
crafted update for a response policy zone (RPZ). This has been fixed. |
| 57 |
:gl:`#5775` |
| 58 |
|
| 59 |
- Fix a crash triggered by :option:`rndc modzone` on a zone from a |
| 60 |
configuration file. |
| 61 |
|
| 62 |
Calling :option:`rndc modzone` on a zone that was configured in the |
| 63 |
configuration file caused a crash. This has been fixed. :gl:`#5800` |
| 64 |
|
| 65 |
- Fix the processing of empty catalog zone ACLs. |
| 66 |
|
| 67 |
The :iscman:`named` process could terminate unexpectedly when |
| 68 |
processing a catalog zone ACL in an APL resource record that was |
| 69 |
completely empty. This has been fixed. :gl:`#5801` |
| 70 |
|
| 71 |
- Fix a crash triggered by :option:`rndc modzone` on zone that already |
| 72 |
existed in NZF file. |
| 73 |
|
| 74 |
Calling :option:`rndc modzone` didn't work properly for a zone that |
| 75 |
was configured in the configuration file. It could crash if BIND 9 was |
| 76 |
built without LMDB or if there was already an NZF file for the zone. |
| 77 |
This has been fixed. :gl:`#5826` |
| 78 |
|
| 79 |
- Fix potential resource leak during resolver error handling. |
| 80 |
|
| 81 |
Under specific error conditions during query processing, resources |
| 82 |
were not being properly released, which could eventually lead to |
| 83 |
unnecessary memory consumption for the server. A potential resource |
| 84 |
leak in the resolver has been fixed. :gl:`!11658` |