Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id CE0761A923B for ; Fri, 22 Jan 2021 20:08:34 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id E6CAF8510B; Fri, 22 Jan 2021 20:08:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2C0D88510A for ; Fri, 22 Jan 2021 20:08:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id TZU1Hz3nPA8G for ; Fri, 22 Jan 2021 20:08:32 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5F01884D40 for ; Fri, 22 Jan 2021 20:08:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 58BBBFA9D; Fri, 22 Jan 2021 20:08:32 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1611346112116810" MIME-Version: 1.0 Date: Fri, 22 Jan 2021 20:08:32 +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: <20210122200832.58BBBFA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1611346112116810 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: bsiegert Date: Fri Jan 22 20:08:32 UTC 2021 Modified Files: pkgsrc/lang/go: version.mk pkgsrc/lang/go114: PLIST distinfo Log Message: Update go114 to 1.14.14. * cmd/go: packages using cgo can cause arbitrary code execution at build time The go command may execute arbitrary code at build time when cgo is in use on Windows. This may occur when running “go get”, or any other command that builds code. Only users who build untrusted code (and don’t execute it) are affected. In addition to Windows users, this can also affect Unix users who have “.” listed explicitly in their PATH and are running “go get” or build commands outside of a module or with module mode disabled. Thanks to RyotaK (https://twitter.com/ryotkak) for reporting this issue. This issue is CVE-2021-3115 and Go issue golang.org/issue/43783. For more background on the cmd/go change and help deciding whether your own programs might have similar issues, see our blog post at https://blog.golang.org/path-security. * crypto/elliptic: incorrect operations on the P-224 curve The P224() Curve implementation can in rare circumstances generate incorrect outputs, including returning invalid points from ScalarMult. The crypto/x509 and golang.org/x/crypto/ocsp (but not crypto/tls) packages support P-224 ECDSA keys, but they are not supported by publicly trusted certificate authorities. No other standard library or golang.org/x/crypto package supports or uses the P-224 curve. The incorrect output was found by the elliptic-curve-differential-fuzzer project running on OSS-Fuzz and reported by Philippe Antoine (Catena cyber). This issue is CVE-2021-3114 and Go issue golang.org/issue/43786. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 pkgsrc/lang/go/version.mk cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/go114/PLIST cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/go114/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1611346112116810 Content-Disposition: inline Content-Length: 4760 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.107 pkgsrc/lang/go/version.mk:1.108 --- pkgsrc/lang/go/version.mk:1.107 Sat Dec 19 18:03:52 2020 +++ pkgsrc/lang/go/version.mk Fri Jan 22 20:08:32 2021 @@ -1,4 +1,4 @@ -# $NetBSD: version.mk,v 1.107 2020/12/19 18:03:52 bsiegert Exp $ +# $NetBSD: version.mk,v 1.108 2021/01/22 20:08:32 bsiegert Exp $ # # If bsd.prefs.mk is included before go-package.mk in a package, then this @@ -8,7 +8,7 @@ GO116_VERSION= 1.16.beta1 GO115_VERSION= 1.15.5 -GO114_VERSION= 1.14.12 +GO114_VERSION= 1.14.14 GO113_VERSION= 1.13.15 GO110_VERSION= 1.10.8 GO19_VERSION= 1.9.7 Index: pkgsrc/lang/go114/PLIST diff -u pkgsrc/lang/go114/PLIST:1.7 pkgsrc/lang/go114/PLIST:1.8 --- pkgsrc/lang/go114/PLIST:1.7 Fri Nov 13 18:27:35 2020 +++ pkgsrc/lang/go114/PLIST Fri Jan 22 20:08:32 2021 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2020/11/13 18:27:35 bsiegert Exp $ +@comment $NetBSD: PLIST,v 1.8 2021/01/22 20:08:32 bsiegert Exp $ bin/go${GOVERSSUFFIX} bin/gofmt${GOVERSSUFFIX} go114/AUTHORS @@ -791,6 +791,7 @@ go114/pkg/${GO_PLATFORM}/index/suffixarr go114/pkg/${GO_PLATFORM}/internal/bytealg.a go114/pkg/${GO_PLATFORM}/internal/cfg.a go114/pkg/${GO_PLATFORM}/internal/cpu.a +go114/pkg/${GO_PLATFORM}/internal/execabs.a go114/pkg/${GO_PLATFORM}/internal/fmtsort.a go114/pkg/${GO_PLATFORM}/internal/goroot.a go114/pkg/${GO_PLATFORM}/internal/goversion.a @@ -1923,6 +1924,7 @@ go114/src/cmd/go/testdata/script/build_t go114/src/cmd/go/testdata/script/cache_unix.txt go114/src/cmd/go/testdata/script/cache_vet.txt go114/src/cmd/go/testdata/script/cgo_asm_error.txt +go114/src/cmd/go/testdata/script/cgo_path.txt go114/src/cmd/go/testdata/script/cgo_syso_issue29253.txt go114/src/cmd/go/testdata/script/clean_testcache.txt go114/src/cmd/go/testdata/script/cmd_import_error.txt @@ -1968,6 +1970,7 @@ go114/src/cmd/go/testdata/script/install go114/src/cmd/go/testdata/script/install_cross_gobin.txt go114/src/cmd/go/testdata/script/install_rebuild_gopath.txt go114/src/cmd/go/testdata/script/install_rebuild_removed.txt +go114/src/cmd/go/testdata/script/ldflag.txt go114/src/cmd/go/testdata/script/link_syso_issue33139.txt go114/src/cmd/go/testdata/script/linkname.txt go114/src/cmd/go/testdata/script/list_ambiguous_path.txt @@ -4527,6 +4530,8 @@ go114/src/internal/cpu/cpu_x86.go go114/src/internal/cpu/cpu_x86.s go114/src/internal/cpu/cpu_x86_test.go go114/src/internal/cpu/export_test.go +go114/src/internal/execabs/execabs.go +go114/src/internal/execabs/execabs_test.go go114/src/internal/fmtsort/export_test.go go114/src/internal/fmtsort/sort.go go114/src/internal/fmtsort/sort_test.go @@ -6312,6 +6317,7 @@ go114/src/runtime/testdata/testprogcgo/e go114/src/runtime/testdata/testprogcgo/lockosthread.c go114/src/runtime/testdata/testprogcgo/lockosthread.go go114/src/runtime/testdata/testprogcgo/main.go +go114/src/runtime/testdata/testprogcgo/needmdeadlock.go go114/src/runtime/testdata/testprogcgo/numgoroutine.go go114/src/runtime/testdata/testprogcgo/pprof.go go114/src/runtime/testdata/testprogcgo/raceprof.go @@ -8636,6 +8642,7 @@ go114/test/fixedbugs/issue4252.dir/a.go go114/test/fixedbugs/issue4252.dir/main.go go114/test/fixedbugs/issue4252.go go114/test/fixedbugs/issue4264.go +go114/test/fixedbugs/issue42753.go go114/test/fixedbugs/issue4283.go go114/test/fixedbugs/issue4313.go go114/test/fixedbugs/issue4316.go Index: pkgsrc/lang/go114/distinfo diff -u pkgsrc/lang/go114/distinfo:1.13 pkgsrc/lang/go114/distinfo:1.14 --- pkgsrc/lang/go114/distinfo:1.13 Fri Nov 13 18:27:35 2020 +++ pkgsrc/lang/go114/distinfo Fri Jan 22 20:08:32 2021 @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.13 2020/11/13 18:27:35 bsiegert Exp $ +$NetBSD: distinfo,v 1.14 2021/01/22 20:08:32 bsiegert Exp $ -SHA1 (go1.14.12.src.tar.gz) = b23a42c9085b5bcef74c23f4ffed41f16ee3a33c -RMD160 (go1.14.12.src.tar.gz) = 161c44071a0cc8fa992dfcf7d1e42f74d241b3c0 -SHA512 (go1.14.12.src.tar.gz) = cba26b97878d5bd57d75bd1541932786779ddb7e9fa0bfb7bf003c7ae9e7bee8318c0d2108ce918453b863892b8f562e481bd0ed6cfc44e43d901522603adff2 -Size (go1.14.12.src.tar.gz) = 22553834 bytes +SHA1 (go1.14.14.src.tar.gz) = 5bfb2ce853ede2d63ba75760cc2b455554599152 +RMD160 (go1.14.14.src.tar.gz) = 3394b7b351aeb074a1fd926a4003742857df965c +SHA512 (go1.14.14.src.tar.gz) = 76213b19eeec66ca6c6b5bdef875bea0b64c3877c70eec64dd65f7869ceb8db016ff19193f01771f8944fd5f0ae3b54c68185e158f2622d1db5552fec1f37976 +Size (go1.14.14.src.tar.gz) = 22557733 bytes SHA1 (patch-misc_io_clangwrap.sh) = cd91c47ba0fe7b6eb8009dd261c0c26c7d581c29 SHA1 (patch-src_cmd_dist_util.go) = 24e6f1b6ded842a8ce322a40e8766f7d344bc47e SHA1 (patch-src_cmd_link_internal_ld_elf.go) = 990a54e3baf239916e4c7f0c1d54240e2898601a --_----------=_1611346112116810--