pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang Update go115 to 1.15.13.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5733a867166f
branches:  trunk
changeset: 453938:5733a867166f
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Jun 04 16:43:20 2021 +0000

description:
Update go115 to 1.15.13.

go1.15.13 (released 2021-06-03) includes security fixes to the archive/zip,
math/big, net, and net/http/httputil packages, as well as bug fixes to the
linker, the go command, and the math/big and net/http packages. See the Go
1.15.13 milestone on our issue tracker for details.

The SetString and UnmarshalText methods of math/big.Rat
<https://pkg.go.dev/math/big#Rat> may cause a panic or an unrecoverable
fatal error if passed inputs with very large exponents.
This is issue <https://github.com/golang/go/issues/44910> and
CVE-2021-33198.

Thanks to the OSS-Fuzz project for discovering this issue and to Emmanuel
Odeke for reporting it.

ReverseProxy in net/http/httputil <https://pkg.go.dev/net/http/httputil> could
be made to forward certain hop-by-hop headers, including Connection. In
case the target of the ReverseProxy was itself a reverse proxy, this would
let an attacker drop arbitrary headers, including those set by the
ReverseProxy.Director.
This is issue <https://github.com/golang/go/issues/46313> and
CVE-2021-33197.

Thanks to Mattias Grenfeldt (https://grenfeldt.dev) and Asta Olofsson for
reporting this issue.

The LookupCNAME, LookupSRV, LookupMX, LookupNS, and LookupAddr functions in
net <https://pkg.go.dev/net>, and their respective methods on the Resolver
<https://pkg.go.dev/net#Resolver> type may return arbitrary values
retrieved from DNS which do not follow the established RFC 1035
<https://datatracker.ietf.org/doc/html/rfc1035>rules for domain names. If
these names are used without further sanitization, for instance unsafely
included in HTML, they may allow for injection of unexpected content. Note
that LookupTXT may still return arbitrary values that could require
sanitization before further use.
This is issue <https://github.com/golang/go/issues/46241> and
CVE-2021-33195.

Thanks to Philipp Jeitner and Haya Shulman from Fraunhofer SIT for
reporting this issue.

The NewReader and OpenReader functions in archive/zip
<https://pkg.go.dev/archive/zip> can cause a panic or an unrecoverable
fatal error when reading an archive that claims to contain a large number
of files, regardless of its actual size.
This is issue <https://github.com/golang/go/issues/46242>and
CVE-2021-33196.

Thanks to the OSS-Fuzz project for discovering this issue and to Emmanuel
Odeke for reporting it.

diffstat:

 lang/go/version.mk  |   4 ++--
 lang/go115/PLIST    |   3 ++-
 lang/go115/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r b3670df12131 -r 5733a867166f lang/go/version.mk
--- a/lang/go/version.mk        Fri Jun 04 16:06:11 2021 +0000
+++ b/lang/go/version.mk        Fri Jun 04 16:43:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.118 2021/05/07 18:29:14 bsiegert Exp $
+# $NetBSD: version.mk,v 1.119 2021/06/04 16:43:20 bsiegert Exp $
 
 #
 # If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -7,7 +7,7 @@
 .include "go-vars.mk"
 
 GO116_VERSION= 1.16.4
-GO115_VERSION= 1.15.12
+GO115_VERSION= 1.15.13
 GO110_VERSION= 1.10.8
 GO19_VERSION=  1.9.7
 GO14_VERSION=  1.4.3
diff -r b3670df12131 -r 5733a867166f lang/go115/PLIST
--- a/lang/go115/PLIST  Fri Jun 04 16:06:11 2021 +0000
+++ b/lang/go115/PLIST  Fri Jun 04 16:43:20 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2021/05/07 16:30:41 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/06/04 16:43:21 bsiegert Exp $
 bin/go${GOVERSSUFFIX}
 bin/gofmt${GOVERSSUFFIX}
 go115/AUTHORS
@@ -2274,6 +2274,7 @@
 go115/src/cmd/go/testdata/script/mod_tidy_quote.txt
 go115/src/cmd/go/testdata/script/mod_tidy_replace.txt
 go115/src/cmd/go/testdata/script/mod_tidy_sum.txt
+go115/src/cmd/go/testdata/script/mod_tidy_too_new.txt
 go115/src/cmd/go/testdata/script/mod_upgrade_patch.txt
 go115/src/cmd/go/testdata/script/mod_vcs_missing.txt
 go115/src/cmd/go/testdata/script/mod_vendor.txt
diff -r b3670df12131 -r 5733a867166f lang/go115/distinfo
--- a/lang/go115/distinfo       Fri Jun 04 16:06:11 2021 +0000
+++ b/lang/go115/distinfo       Fri Jun 04 16:43:20 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.9 2021/05/07 16:30:41 bsiegert Exp $
+$NetBSD: distinfo,v 1.10 2021/06/04 16:43:21 bsiegert Exp $
 
-SHA1 (go1.15.12.src.tar.gz) = a91d50e0a67572b83c76c11ab9f250d217bd488e
-RMD160 (go1.15.12.src.tar.gz) = 74404f5b7779261c73c920c991df9d60c3cc56b9
-SHA512 (go1.15.12.src.tar.gz) = 9fdb0e74c0b4e8e5d8d45cbdb6f1d4be4d40549ef10629350856c3e045a82567a0418e949dfc229df7eea091ababec6b3e4e12b1bd424e14d7b10ef989e5c232
-Size (go1.15.12.src.tar.gz) = 23035406 bytes
+SHA1 (go1.15.13.src.tar.gz) = 4408218eeefe1367ca8b03a5cc3eb3d3dc164f2d
+RMD160 (go1.15.13.src.tar.gz) = 27a5186dfca92ff95c55ec3652e4af03a6204232
+SHA512 (go1.15.13.src.tar.gz) = 3f77716c9721afacb27daa175e236bb25cfc93602f1531df18938fad94bf4f59e81b81f53fa977c2ebc9a912942275a1106043133fec166965e72766b1638ba1
+Size (go1.15.13.src.tar.gz) = 23039791 bytes
 SHA1 (patch-misc_io_clangwrap.sh) = df5911c430ff6251abab12e5cc233e32fc3cd953
 SHA1 (patch-src_cmd_dist_util.go) = 24e6f1b6ded842a8ce322a40e8766f7d344bc47e
 SHA1 (patch-src_cmd_link_internal_ld_elf.go) = 3dfcb5c824d4201fadda0cfb6b48e5938899baf0



Home | Main Index | Thread Index | Old Index