bind: fix CVE-2020-8625 (#675)
Co-authored-by: Nicolas Guibourge <nicolasg@microsoft.com>
This commit is contained in:
parent
6eee32f12a
commit
44f672d00b
|
@ -0,0 +1,12 @@
|
||||||
|
diff -urN bind-9.16.3-original/lib/dns/spnego.c bind-9.16.3/lib/dns/spnego.c
|
||||||
|
--- bind-9.16.3-original/lib/dns/spnego.c 2021-03-01 08:56:47.639826977 -0800
|
||||||
|
+++ bind-9.16.3/lib/dns/spnego.c 2021-03-01 08:58:57.223786168 -0800
|
||||||
|
@@ -842,7 +842,7 @@
|
||||||
|
return (ASN1_OVERRUN);
|
||||||
|
}
|
||||||
|
|
||||||
|
- data->components = malloc(len * sizeof(*data->components));
|
||||||
|
+ data->components = malloc((len + 1) * sizeof(*data->components));
|
||||||
|
if (data->components == NULL) {
|
||||||
|
return (ENOMEM);
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
Summary: Domain Name System software
|
Summary: Domain Name System software
|
||||||
Name: bind
|
Name: bind
|
||||||
Version: 9.16.3
|
Version: 9.16.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://www.isc.org/downloads/bind/
|
URL: https://www.isc.org/downloads/bind/
|
||||||
Source0: https://ftp.isc.org/isc/bind9/%{version}/%{name}-%{version}.tar.xz
|
Source0: https://ftp.isc.org/isc/bind9/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
@ -15,6 +15,7 @@ Patch5: CVE-2020-8622.patch
|
||||||
# CVE-2020-8623 only impacts package built with "--enable-native-pkcs11"
|
# CVE-2020-8623 only impacts package built with "--enable-native-pkcs11"
|
||||||
Patch6: CVE-2020-8623.nopatch
|
Patch6: CVE-2020-8623.nopatch
|
||||||
Patch7: CVE-2020-8624.patch
|
Patch7: CVE-2020-8624.patch
|
||||||
|
Patch8: CVE-2020-8625.patch
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: Microsoft Corporation
|
Vendor: Microsoft Corporation
|
||||||
Distribution: Mariner
|
Distribution: Mariner
|
||||||
|
@ -93,6 +94,8 @@ fi
|
||||||
%{_prefix}/lib/tmpfiles.d/named.conf
|
%{_prefix}/lib/tmpfiles.d/named.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 01 2021 Nicolas Guibourge <nicolasg@microsoft.com> - 9.16.3-3
|
||||||
|
- Fixes CVE-2020-8625
|
||||||
* Fri Sep 11 2020 Ruying Chen <v-ruyche@microsoft.com> - 9.16.3-2
|
* Fri Sep 11 2020 Ruying Chen <v-ruyche@microsoft.com> - 9.16.3-2
|
||||||
- Fixes CVE-2020-8618, CVE-2020-8619, CVE-2020-8620,
|
- Fixes CVE-2020-8618, CVE-2020-8619, CVE-2020-8620,
|
||||||
- CVE-2020-8621, CVE-2020-8622, CVE-2020-8623, CVE-2020-8624
|
- CVE-2020-8621, CVE-2020-8622, CVE-2020-8623, CVE-2020-8624
|
||||||
|
|
Loading…
Reference in New Issue