| 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.20 |
| 13 |
---------------------- |
| 14 |
|
| 15 |
Security Fixes |
| 16 |
~~~~~~~~~~~~~~ |
| 17 |
|
| 18 |
- Fix a use-after-free error in ``dns_client_resolve()`` triggered by a |
| 19 |
DNAME response. |
| 20 |
|
| 21 |
This issue only affected the :iscman:`delv` tool and it has now been |
| 22 |
fixed. |
| 23 |
|
| 24 |
ISC would like to thank Vitaly Simonovich for bringing this |
| 25 |
vulnerability to our attention. :gl:`#5728` |
| 26 |
|
| 27 |
Feature Changes |
| 28 |
~~~~~~~~~~~~~~~ |
| 29 |
|
| 30 |
- Record query time for all dnstap responses. |
| 31 |
|
| 32 |
Not all DNS responses had the query time set in their corresponding |
| 33 |
dnstap messages. This has been fixed. :gl:`#3695` |
| 34 |
|
| 35 |
- Optimize TCP source port selection on Linux. |
| 36 |
|
| 37 |
Enable the ``IP_LOCAL_PORT_RANGE`` socket option on the outgoing TCP |
| 38 |
sockets to allow faster selection of the source <address,port> tuple |
| 39 |
for different destination <address,port> tuples, when nearing over |
| 40 |
70-80% of the source port utilization. :gl:`!11569` |
| 41 |
|
| 42 |
Bug Fixes |
| 43 |
~~~~~~~~~ |
| 44 |
|
| 45 |
- Fix an assertion failure triggered by non-minimal IXFRs. |
| 46 |
|
| 47 |
Processing an IXFR that included an RRset whose contents were not |
| 48 |
changed by the transfer triggered an assertion failure. This has been |
| 49 |
fixed. :gl:`#5759` |
| 50 |
|
| 51 |
- Fix a crash when retrying a NOTIFY over TCP. |
| 52 |
|
| 53 |
Furthermore, do not attempt to retry over TCP at all if the source |
| 54 |
address is not available. :gl:`#5457` |
| 55 |
|
| 56 |
- Fetch loop detection improvements. |
| 57 |
|
| 58 |
Fix a case where an in-domain nameserver with expired glue would fail |
| 59 |
to resolve. :gl:`#5588` |
| 60 |
|
| 61 |
- Randomize nameserver selection. |
| 62 |
|
| 63 |
Since BIND 9.20.17, when selecting nameserver addresses to be looked |
| 64 |
up, :iscman:`named` selected them in DNSSEC order from the start of |
| 65 |
the NS RRset. This could lead to a resolution failure despite there |
| 66 |
being an address that could be resolved using the other nameserver |
| 67 |
names. :iscman:`named` now randomizes the order in which nameserver |
| 68 |
addresses are looked up. :gl:`#5695` :gl:`#5745` |
| 69 |
|
| 70 |
- Fix dnstap logging of forwarded queries. :gl:`#5724` |
| 71 |
|
| 72 |
- A stale answer could have been served in case of multiple upstream |
| 73 |
failures when following CNAME chains. This has been fixed. :gl:`#5751` |
| 74 |
|
| 75 |
- Fail DNSKEY validation when supported but invalid DS is found. |
| 76 |
|
| 77 |
A regression was introduced in BIND 9.20.6 when adding the EDE code |
| 78 |
for unsupported DNSKEY and DS algorithms. When the parent had both |
| 79 |
supported and unsupported algorithms in the DS record, the validator |
| 80 |
would treat the supported DS algorithm as insecure instead of bogus |
| 81 |
when validating DNSKEY records. This has no security impact, as the |
| 82 |
rest of the child zone correctly ends with bogus status, but it is |
| 83 |
incorrect and thus the regression has been fixed. :gl:`#5757` |
| 84 |
|
| 85 |
- Importing an invalid SKR file might corrupt stack memory. |
| 86 |
|
| 87 |
If an administrator imported an invalid SKR file, the local stack in |
| 88 |
the import function might overflow. This could lead to a memory |
| 89 |
corruption on the stack and ultimately a server crash. This has been |
| 90 |
fixed. :gl:`#5758` |
| 91 |
|
| 92 |
- Return FORMERR for queries with the EDNS Client Subnet FAMILY field |
| 93 |
set to 0. |
| 94 |
|
| 95 |
:rfc:`7871` only defines families 1 (IPv4) and 2 (IPv6), and requires |
| 96 |
FORMERR to be returned for all unknown families. Queries with the EDNS |
| 97 |
Client Subnet FAMILY field set to 0 now elicit responses with |
| 98 |
RCODE=FORMERR. :gl:`!11565` |