Received: by mail.netbsd.org (Postfix, from userid 605) id B0DE284E70; Wed, 5 Oct 2022 11:20:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E28FF84E62 for ; Wed, 5 Oct 2022 11:20:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 5fjoOWLbAco7 for ; Wed, 5 Oct 2022 11:20:25 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id F124684D14 for ; Wed, 5 Oct 2022 11:20:24 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EAA7AFA90; Wed, 5 Oct 2022 11:20:24 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1664968824250990" MIME-Version: 1.0 Date: Wed, 5 Oct 2022 11:20:24 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/lang To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20221005112024.EAA7AFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1664968824250990 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163 pkgsrc/lang/go/version.mk cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/go119/PLIST pkgsrc/lang/go119/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1664968824250990 Content-Disposition: inline Content-Length: 3474 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/go/version.mk diff -u pkgsrc/lang/go/version.mk:1.162 pkgsrc/lang/go/version.mk:1.163 --- pkgsrc/lang/go/version.mk:1.162 Wed Oct 5 09:51:52 2022 +++ pkgsrc/lang/go/version.mk Wed Oct 5 11:20:24 2022 @@ -1,4 +1,4 @@ -# $NetBSD: version.mk,v 1.162 2022/10/05 09:51:52 bsiegert Exp $ +# $NetBSD: version.mk,v 1.163 2022/10/05 11:20:24 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 Index: pkgsrc/lang/go119/PLIST diff -u pkgsrc/lang/go119/PLIST:1.2 pkgsrc/lang/go119/PLIST:1.3 --- pkgsrc/lang/go119/PLIST:1.2 Tue Sep 6 19:11:13 2022 +++ pkgsrc/lang/go119/PLIST Wed Oct 5 11:20:24 2022 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2022/09/06 19:11:13 bsiegert Exp $ +@comment $NetBSD: PLIST,v 1.3 2022/10/05 11:20:24 bsiegert Exp $ bin/go${GOVERSSUFFIX} bin/gofmt${GOVERSSUFFIX} go119/CONTRIBUTING.md @@ -960,6 +960,7 @@ go119/src/archive/tar/testdata/issue1243 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 Index: pkgsrc/lang/go119/distinfo diff -u pkgsrc/lang/go119/distinfo:1.2 pkgsrc/lang/go119/distinfo:1.3 --- pkgsrc/lang/go119/distinfo:1.2 Tue Sep 6 19:11:13 2022 +++ pkgsrc/lang/go119/distinfo Wed Oct 5 11:20:24 2022 @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2022/09/06 19:11:13 bsiegert Exp $ +$NetBSD: distinfo,v 1.3 2022/10/05 11:20:24 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 --_----------=_1664968824250990--