package/bind: security bump to version 9.11.28
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 18 Feb 2021 08:22:26 +0000 (09:22 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 22 Feb 2021 13:35:10 +0000 (14:35 +0100)
Fixes the following security issue:

- CVE-2020-8625: When tkey-gssapi-keytab or tkey-gssapi-credential was
  configured, a specially crafted GSS-TSIG query could cause a buffer
  overflow in the ISC implementation of SPNEGO (a protocol enabling
  negotiation of the security mechanism to use for GSSAPI authentication).
  This flaw could be exploited to crash named.  Theoretically, it also
  enabled remote code execution, but achieving the latter is very difficult
  in real-world conditions

For details, see the advisory:
https://kb.isc.org/docs/cve-2020-8625

In addition, 9.11.26-27 fixed a number of issues, see the release notes for
details:
https://downloads.isc.org/isc/bind9/9.11.28/RELEASE-NOTES-bind-9.11.28.html

Drop now upstreamed patches, update the GPG key for the 2021-2022 variant
and update the COPYRIGHT hash for a change of year:

-Copyright (C) 1996-2020  Internet Systems Consortium, Inc. ("ISC")
+Copyright (C) 1996-2021  Internet Systems Consortium, Inc. ("ISC")

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/bind/0002-update-link-order-of-libbind9.patch [deleted file]
package/bind/0003-fix-LIB0-for-isc-hmac-fixup-and-named-nzd2nzf.patch [deleted file]
package/bind/0004-Handle-shared-library-platforms-that-don-t-support-i.patch [deleted file]
package/bind/bind.hash
package/bind/bind.mk

diff --git a/package/bind/0002-update-link-order-of-libbind9.patch b/package/bind/0002-update-link-order-of-libbind9.patch
deleted file mode 100644 (file)
index 32c0776..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-From f63b2d8fbd010d60f2a07f4f69b11d7a10c48ae5 Mon Sep 17 00:00:00 2001
-From: Mark Andrews <marka@isc.org>
-Date: Tue, 15 Dec 2020 12:07:03 +1100
-Subject: [PATCH] update link order of libbind9
-
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
----
- lib/bind9/Makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/bind9/Makefile.in b/lib/bind9/Makefile.in
-index 2634451b15..704259dde1 100644
---- a/lib/bind9/Makefile.in
-+++ b/lib/bind9/Makefile.in
-@@ -61,7 +61,7 @@ libbind9.la: ${OBJS} ${ISCCFGDEPLIBS} ${ISCDEPLIBS} ${DNSDEPLIBS}
-       ${LIBTOOL_MODE_LINK} \
-               ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libbind9.la -rpath ${libdir} \
-               -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
--              ${OBJS} ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ \
-+              ${OBJS} ${ISCCFGLIBS} ${DNSLIBS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ \
-               ${LIBS}
- timestamp: libbind9.@A@
--- 
-2.20.1
-
diff --git a/package/bind/0003-fix-LIB0-for-isc-hmac-fixup-and-named-nzd2nzf.patch b/package/bind/0003-fix-LIB0-for-isc-hmac-fixup-and-named-nzd2nzf.patch
deleted file mode 100644 (file)
index 92573f1..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From d744db22f3f0b1fa604517e4414c54531d98eb87 Mon Sep 17 00:00:00 2001
-From: Mark Andrews <marka@isc.org>
-Date: Tue, 15 Dec 2020 12:16:37 +1100
-Subject: [PATCH] fix LIB0 for isc-hmac-fixup and named-nzd2nzf
-
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
----
- bin/tools/Makefile.in | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/bin/tools/Makefile.in b/bin/tools/Makefile.in
-index b12f80a334..6f984f121a 100644
---- a/bin/tools/Makefile.in
-+++ b/bin/tools/Makefile.in
-@@ -87,7 +87,7 @@ nsec3hash@EXEEXT@: nsec3hash.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
- isc-hmac-fixup@EXEEXT@: isc-hmac-fixup.@O@ ${ISCDEPLIBS}
-       export BASEOBJS="isc-hmac-fixup.@O@"; \
--      export LIBS0="${ISCLIBS}"; \
-+      export LIBS0=""; \
-       ${FINALBUILDCMD}
- genrandom@EXEEXT@: genrandom.@O@
-@@ -104,9 +104,9 @@ dnstap-read@EXEEXT@: dnstap-read.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
-       export LIBS0="${DNSLIBS}"; \
-       ${FINALBUILDCMD}
--named-nzd2nzf@EXEEXT@: named-nzd2nzf.@O@ ${NZDDEPLIBS}
-+named-nzd2nzf@EXEEXT@: named-nzd2nzf.@O@ ${ISCDEPLIBS}
-       export BASEOBJS="named-nzd2nzf.@O@"; \
--      export LIBS0="${ISCCFGLIBS} ${ISCCCLIBS} ${BIND9LIBS} ${DNSLIBS}"; \
-+      export LIBS0=""; \
-       ${FINALBUILDCMD}
- doc man:: ${MANOBJS}
--- 
-2.20.1
-
diff --git a/package/bind/0004-Handle-shared-library-platforms-that-don-t-support-i.patch b/package/bind/0004-Handle-shared-library-platforms-that-don-t-support-i.patch
deleted file mode 100644 (file)
index 3e00e41..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From 5cec1ba2fa2f18e9d9e926eab923e0b1b7b8d226 Mon Sep 17 00:00:00 2001
-From: Mark Andrews <marka@isc.org>
-Date: Tue, 15 Dec 2020 19:18:41 +1100
-Subject: [PATCH] Handle shared library platforms that don't support inter
- library dependancies
-
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
----
- bin/tools/Makefile.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/bin/tools/Makefile.in b/bin/tools/Makefile.in
-index 6f984f121a..d34bac1192 100644
---- a/bin/tools/Makefile.in
-+++ b/bin/tools/Makefile.in
-@@ -94,9 +94,9 @@ genrandom@EXEEXT@: genrandom.@O@
-       ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
-               -o $@ genrandom.@O@ @GENRANDOMLIB@ ${LIBS}
--mdig@EXEEXT@: mdig.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS}
-+mdig@EXEEXT@: mdig.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS} ${BIND9DEPLIBS} ${ISCCFGDEPLIBS}
-       export BASEOBJS="mdig.@O@"; \
--      export LIBS0="${DNSLIBS} ${BIND9LIBS}"; \
-+      export LIBS0="${BIND9LIBS} ${ISCCFGLIBS} ${DNSLIBS}"; \
-       ${FINALBUILDCMD}
- dnstap-read@EXEEXT@: dnstap-read.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
--- 
-2.20.1
-
index ae196dacd5517ceb4e5af034a9139e85c4765879..369d2f5fb51f32a708b16f01974a89559e8f3de7 100644 (file)
@@ -1,4 +1,4 @@
-# Verified from https://ftp.isc.org/isc/bind9/9.11.25/bind-9.11.25.tar.gz.asc
-# with key 95CEDA256B1CA0A15F302FB59521A7ED5DACE918
-sha256  8491c24e5a3da68f421d0fcb946602c8d0ff963012fdd176b8026c8890f3a117  bind-9.11.25.tar.gz
-sha256  e316d9d12b3cc3600985d71011d7856f5ff93d28e748155a3a18171b32d98d8b  COPYRIGHT
+# Verified from https://ftp.isc.org/isc/bind9/9.11.28/bind-9.11.28.tar.gz.asc
+# with key 2455774D42FDFE6B9C383EB8FE1002BC5970811F
+sha256  1090cbe6caba37c404d1075887da7e5282ae9a2bc6172d722df15cd480975e74  bind-9.11.28.tar.gz
+sha256  cad49daa42654bc241762cd998630168a2542c8fd6fad3881e2eac1510bb6fcd  COPYRIGHT
index 9698590e005b67330044720526d79dfbbb5fb8c7..8e8896f3cc2deae99d57c7433604cead34d4ea7b 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BIND_VERSION = 9.11.25
+BIND_VERSION = 9.11.28
 BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION)
 # bind does not support parallel builds.
 BIND_MAKE = $(MAKE1)