summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2022-10-07 18:19:31 +0000
committerbsiegert <bsiegert@pkgsrc.org>2022-10-07 18:19:31 +0000
commit66e996cae1852a1ac746857aa0699f977864d142 (patch)
tree865b4c4de9fa9e82475bc52fb1f8bde3d121976c
parent81b9fa11809ffc60f31ba90b25689db3e8b78143 (diff)
downloadpkgsrc-66e996cae1852a1ac746857aa0699f977864d142.tar.gz
Pullup ticket #6680 - requested by taca
lang/go119: security fix Revisions pulled up: - lang/go/version.mk 1.163 - lang/go119/PLIST 1.3 - lang/go119/distinfo 1.3 --- Module Name: pkgsrc Committed By: bsiegert Date: Wed Oct 5 11:20:24 UTC 2022 Modified Files: pkgsrc/lang/go: version.mk pkgsrc/lang/go119: PLIST distinfo Log Message: Update go119 to 1.19.2 This minor release includes 3 security fixes following the security policy: - archive/tar: unbounded memory consumption when reading headers Reader.Read did not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. Reader.Read now limits the maximum size of header blocks to 1 MiB. Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue. This is CVE-2022-2879 and Go issue https://go.dev/issue/54853. - net/http/httputil: ReverseProxy should not forward unparseable query parameters Requests forwarded by ReverseProxy included the raw query parameters from the inbound request, including unparseable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparseable value. ReverseProxy will now sanitize the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy.Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged. Thanks to Gal Goldstein (Security Researcher, Oxeye) and Daniel Abeles (Head of Research, Oxeye) for reporting this issue. This is CVE-2022-2880 and Go issue https://go.dev/issue/54663. - regexp/syntax: limit memory used by parsing regexps The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. Each regexp being parsed is now limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are now rejected. Normal use of regular expressions is unaffected. Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue. This is CVE-2022-41715 and Go issue https://go.dev/issue/55949.
-rw-r--r--lang/go/version.mk4
-rw-r--r--lang/go119/PLIST8
-rw-r--r--lang/go119/distinfo8
3 files changed, 13 insertions, 7 deletions
diff --git a/lang/go/version.mk b/lang/go/version.mk
index ff6cb3528ae..846f5109da2 100644
--- a/lang/go/version.mk
+++ b/lang/go/version.mk
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.159.2.1 2022/10/07 16:34:02 bsiegert Exp $
+# $NetBSD: version.mk,v 1.159.2.2 2022/10/07 18:19:31 bsiegert Exp $
#
# If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -6,7 +6,7 @@
#
.include "go-vars.mk"
-GO119_VERSION= 1.19.1
+GO119_VERSION= 1.19.2
GO118_VERSION= 1.18.7
GO117_VERSION= 1.17.13
GO116_VERSION= 1.16.15
diff --git a/lang/go119/PLIST b/lang/go119/PLIST
index d0666f5fafb..78818d49133 100644
--- a/lang/go119/PLIST
+++ b/lang/go119/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/09/06 19:11:13 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2.2.1 2022/10/07 18:19:31 bsiegert Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go119/CONTRIBUTING.md
@@ -960,6 +960,7 @@ go119/src/archive/tar/testdata/issue12435.tar
go119/src/archive/tar/testdata/neg-size.tar
go119/src/archive/tar/testdata/nil-uid.tar
go119/src/archive/tar/testdata/pax-bad-hdr-file.tar
+go119/src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2
go119/src/archive/tar/testdata/pax-bad-mtime-file.tar
go119/src/archive/tar/testdata/pax-global-records.tar
go119/src/archive/tar/testdata/pax-multi-hdrs.tar
@@ -11225,7 +11226,11 @@ go119/test/fixedbugs/issue54638.go
go119/test/fixedbugs/issue5470.dir/a.go
go119/test/fixedbugs/issue5470.dir/b.go
go119/test/fixedbugs/issue5470.go
+go119/test/fixedbugs/issue54911.go
go119/test/fixedbugs/issue5493.go
+go119/test/fixedbugs/issue54991.go
+go119/test/fixedbugs/issue55122.go
+go119/test/fixedbugs/issue55122b.go
go119/test/fixedbugs/issue5515.go
go119/test/fixedbugs/issue5581.go
go119/test/fixedbugs/issue5607.go
@@ -12080,6 +12085,7 @@ go119/test/typeparam/issue53419.go
go119/test/typeparam/issue53477.go
go119/test/typeparam/issue53762.go
go119/test/typeparam/issue54135.go
+go119/test/typeparam/issue54225.go
go119/test/typeparam/issue54302.dir/a.go
go119/test/typeparam/issue54302.dir/main.go
go119/test/typeparam/issue54302.go
diff --git a/lang/go119/distinfo b/lang/go119/distinfo
index bac5393e969..1a286d5da8f 100644
--- a/lang/go119/distinfo
+++ b/lang/go119/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2022/09/06 19:11:13 bsiegert Exp $
+$NetBSD: distinfo,v 1.2.2.1 2022/10/07 18:19:31 bsiegert Exp $
-BLAKE2s (go1.19.1.src.tar.gz) = 58558ab93053577809b2b826edf4e8217a312efcaedbfbff5317beddcd8d4bee
-SHA512 (go1.19.1.src.tar.gz) = 7e8cf557f05d5a537f9305bb9c19cf8ab9ce640376e5ea97ff0d490b016364936e8dfc129462760c4e817af01fdf09e3f815b88412f9985bb254dfa3167752c0
-Size (go1.19.1.src.tar.gz) = 26527375 bytes
+BLAKE2s (go1.19.2.src.tar.gz) = 09640c7d9fafd3e5a58de1696940e4e5e4102d15d567fff98077c75e7e6afd7f
+SHA512 (go1.19.2.src.tar.gz) = 72901e5eaf1857b22bf62a82690579aa4bd8b8130f16416313d249600c99e1ae3c1451ac5c53138ce41dd39dd72dcf8d0f3592b98f4239754efcf4f8b0103cb4
+Size (go1.19.2.src.tar.gz) = 26534465 bytes
SHA1 (patch-misc_ios_clangwrap.sh) = 0a06403609cb7bce2e6f65444fd322f486761afe
SHA1 (patch-src_cmd_dist_util.go) = 2d9c2f59e27672d56f5f1a0e3f9d5101a05546a7
SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35