pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang go117: update to 1.17.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8cfc54e6b31
branches:  trunk
changeset: 376766:c8cfc54e6b31
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Apr 13 07:36:53 2022 +0000

description:
go117: update to 1.17.9

This minor release includes three security fixes following the security policy:

- encoding/pem: fix stack overflow in Decode

  A large (more than 5 MB) PEM input can cause a stack overflow in Decode,
  leading the program to crash.

  Thanks to Juho Nurminen of Mattermost who reported the error.

  This is CVE-2022-24675 and https://go.dev/issue/51853.

- crypto/elliptic: tolerate all oversized scalars in generic P-256

  A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or
  P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and
  crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.

  This was discovered thanks to a Project Wycheproof test vector.

  This is CVE-2022-28327 and https://go.dev/issue/52075.

- crypto/x509: non-compliant certificates can cause a panic in Verify on macOS in Go 1.18

  Verifying certificate chains containing certificates which are not compliant
  with RFC 5280 causes Certificate.Verify to panic on macOS.

  These chains can be delivered through TLS and can cause a crypto/tls or
  net/http client to crash.

  Thanks to Tailscale for doing weird things and finding this.

  This is CVE-2022-27536 and https://go.dev/issue/51759.

diffstat:

 lang/go/version.mk  |   4 ++--
 lang/go117/PLIST    |  13 ++++++++-----
 lang/go117/distinfo |   8 ++++----
 3 files changed, 14 insertions(+), 11 deletions(-)

diffs (75 lines):

diff -r 5e3d1e210e01 -r c8cfc54e6b31 lang/go/version.mk
--- a/lang/go/version.mk        Wed Apr 13 07:03:24 2022 +0000
+++ b/lang/go/version.mk        Wed Apr 13 07:36:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.144 2022/03/15 20:13:45 bsiegert Exp $
+# $NetBSD: version.mk,v 1.145 2022/04/13 07:36:53 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"
 
 GO118_VERSION= 1.18
-GO117_VERSION= 1.17.8
+GO117_VERSION= 1.17.9
 GO116_VERSION= 1.16.15
 GO110_VERSION= 1.10.8
 GO19_VERSION=  1.9.7
diff -r 5e3d1e210e01 -r c8cfc54e6b31 lang/go117/PLIST
--- a/lang/go117/PLIST  Wed Apr 13 07:03:24 2022 +0000
+++ b/lang/go117/PLIST  Wed Apr 13 07:36:53 2022 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.7 2022/03/07 08:44:52 bsiegert Exp $
-bin/go${GOVERSSUFFIX}
-bin/gofmt${GOVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.8 2022/04/13 07:36:53 bsiegert Exp $
+bin/go117
+bin/gofmt117
 go117/AUTHORS
 go117/CONTRIBUTING.md
 go117/CONTRIBUTORS
@@ -295,6 +295,9 @@
 go117/misc/cgo/testplugin/testdata/method2/main.go
 go117/misc/cgo/testplugin/testdata/method2/p/p.go
 go117/misc/cgo/testplugin/testdata/method2/plugin.go
+go117/misc/cgo/testplugin/testdata/method3/main.go
+go117/misc/cgo/testplugin/testdata/method3/p/p.go
+go117/misc/cgo/testplugin/testdata/method3/plugin.go
 go117/misc/cgo/testplugin/testdata/plugin1/plugin1.go
 go117/misc/cgo/testplugin/testdata/plugin2/plugin2.go
 go117/misc/cgo/testplugin/testdata/sub/plugin1/plugin1.go
@@ -783,7 +786,7 @@
 go117/pkg/${GO_PLATFORM}/os.a
 go117/pkg/${GO_PLATFORM}/os/exec.a
 go117/pkg/${GO_PLATFORM}/os/signal.a
-${PLIST.pty}go117/pkg/${GO_PLATFORM}/os/signal/internal/pty.a
+go117/pkg/${GO_PLATFORM}/os/signal/internal/pty.a
 go117/pkg/${GO_PLATFORM}/os/user.a
 go117/pkg/${GO_PLATFORM}/path.a
 go117/pkg/${GO_PLATFORM}/path/filepath.a
@@ -837,7 +840,7 @@
 go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/net/http2/hpack.a
 go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/net/idna.a
 go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/net/nettest.a
-${PLIST.route}go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/net/route.a
+go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/net/route.a
 go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/sys/cpu.a
 go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/text/secure/bidirule.a
 go117/pkg/${GO_PLATFORM}/vendor/golang.org/x/text/transform.a
diff -r 5e3d1e210e01 -r c8cfc54e6b31 lang/go117/distinfo
--- a/lang/go117/distinfo       Wed Apr 13 07:03:24 2022 +0000
+++ b/lang/go117/distinfo       Wed Apr 13 07:36:53 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.14 2022/03/07 08:44:52 bsiegert Exp $
+$NetBSD: distinfo,v 1.15 2022/04/13 07:36:53 bsiegert Exp $
 
-BLAKE2s (go1.17.8.src.tar.gz) = c974cde147bb2bd4e149b6d06f253be12ae6e4838170957c0a17c94cedaf6830
-SHA512 (go1.17.8.src.tar.gz) = 21d5c51ce62bc3b987dd5bf7c6b7e1a934fe40582bfbbe99ca80c26d41253e796a4b9d02c571f1e5ab3fd7c3950175e23b9929b0d934f421c96a6d6128c44668
-Size (go1.17.8.src.tar.gz) = 22199282 bytes
+BLAKE2s (go1.17.9.src.tar.gz) = e5c413e7ce5ed7521af79b7e46f86d727bc4b8230dae3ad4c3e9cf436e2f5a7c
+SHA512 (go1.17.9.src.tar.gz) = 70c7a6b43531c445cce13963644cc766e5d167597452a1324eacb2ee95bdd9c860ef62f13261bfc4c6baae5773f8953ce6cda9fae21eb7ac0e90bae1ca044a02
+Size (go1.17.9.src.tar.gz) = 22200358 bytes
 SHA1 (patch-misc_ios_clangwrap.sh) = 0a06403609cb7bce2e6f65444fd322f486761afe
 SHA1 (patch-src_cmd_dist_util.go) = 2d9c2f59e27672d56f5f1a0e3f9d5101a05546a7
 SHA1 (patch-src_crypto_x509_root__bsd.go) = 27636e0d8c121ccec6c46a3a82cd0e0469473a6e



Home | Main Index | Thread Index | Old Index