pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Wed Apr 13 07:46:56 UTC 2022

Modified Files:
        pkgsrc/lang/go: version.mk
        pkgsrc/lang/go118: PLIST distinfo

Log Message:
go118: update to 1.18.1

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.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 pkgsrc/lang/go/version.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/go118/PLIST pkgsrc/lang/go118/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/go/version.mk
diff -u pkgsrc/lang/go/version.mk:1.145 pkgsrc/lang/go/version.mk:1.146
--- pkgsrc/lang/go/version.mk:1.145     Wed Apr 13 07:36:53 2022
+++ pkgsrc/lang/go/version.mk   Wed Apr 13 07:46:56 2022
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.145 2022/04/13 07:36:53 bsiegert Exp $
+# $NetBSD: version.mk,v 1.146 2022/04/13 07:46:56 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"
 
-GO118_VERSION= 1.18
+GO118_VERSION= 1.18.1
 GO117_VERSION= 1.17.9
 GO116_VERSION= 1.16.15
 GO110_VERSION= 1.10.8

Index: pkgsrc/lang/go118/PLIST
diff -u pkgsrc/lang/go118/PLIST:1.1 pkgsrc/lang/go118/PLIST:1.2
--- pkgsrc/lang/go118/PLIST:1.1 Tue Mar 15 20:13:45 2022
+++ pkgsrc/lang/go118/PLIST     Wed Apr 13 07:46:56 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/03/15 20:13:45 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/04/13 07:46:56 bsiegert Exp $
 bin/go${GOVERSSUFFIX}
 bin/gofmt${GOVERSSUFFIX}
 go118/AUTHORS
@@ -305,6 +305,9 @@ go118/misc/cgo/testplugin/testdata/metho
 go118/misc/cgo/testplugin/testdata/method2/main.go
 go118/misc/cgo/testplugin/testdata/method2/p/p.go
 go118/misc/cgo/testplugin/testdata/method2/plugin.go
+go118/misc/cgo/testplugin/testdata/method3/main.go
+go118/misc/cgo/testplugin/testdata/method3/p/p.go
+go118/misc/cgo/testplugin/testdata/method3/plugin.go
 go118/misc/cgo/testplugin/testdata/plugin1/plugin1.go
 go118/misc/cgo/testplugin/testdata/plugin2/plugin2.go
 go118/misc/cgo/testplugin/testdata/sub/plugin1/plugin1.go
@@ -1864,6 +1867,8 @@ go118/src/cmd/compile/internal/types2/te
 go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51509.go
 go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51578.go2
 go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51593.go2
+go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51607.go2
+go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51658.go2
 go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue6977.src
 go118/src/cmd/compile/internal/types2/testdata/manual.go2
 go118/src/cmd/compile/internal/types2/testdata/spec/assignability.go2
@@ -2922,6 +2927,7 @@ go118/src/cmd/go/testdata/script/test_be
 go118/src/cmd/go/testdata/script/test_benchmark_labels.txt
 go118/src/cmd/go/testdata/script/test_benchmark_timeout.txt
 go118/src/cmd/go/testdata/script/test_build_failure.txt
+go118/src/cmd/go/testdata/script/test_buildvcs.txt
 go118/src/cmd/go/testdata/script/test_cache_inputs.txt
 go118/src/cmd/go/testdata/script/test_chatty_fail.txt
 go118/src/cmd/go/testdata/script/test_chatty_parallel_fail.txt
@@ -3079,6 +3085,7 @@ go118/src/cmd/go/testdata/script/work_us
 go118/src/cmd/go/testdata/script/work_use_dot.txt
 go118/src/cmd/go/testdata/script/work_use_issue50958.txt
 go118/src/cmd/go/testdata/script/work_use_noargs.txt
+go118/src/cmd/go/testdata/script/work_use_only_dirs.txt
 go118/src/cmd/go/testdata/script/work_vet.txt
 go118/src/cmd/go/testdata/script/work_why_download_graph.txt
 go118/src/cmd/go/testdata/testterminal18153/terminal_test.go
@@ -5487,6 +5494,8 @@ go118/src/go/types/testdata/fixedbugs/is
 go118/src/go/types/testdata/fixedbugs/issue51509.go
 go118/src/go/types/testdata/fixedbugs/issue51578.go2
 go118/src/go/types/testdata/fixedbugs/issue51593.go2
+go118/src/go/types/testdata/fixedbugs/issue51658.go2
+go118/src/go/types/testdata/fixedbugs/issue52031.go
 go118/src/go/types/testdata/fixedbugs/issue6977.src
 go118/src/go/types/testdata/manual.go2
 go118/src/go/types/testdata/spec/assignability.go2
@@ -10758,6 +10767,7 @@ go118/test/fixedbugs/issue51437.go
 go118/test/fixedbugs/issue51531.go
 go118/test/fixedbugs/issue5162.go
 go118/test/fixedbugs/issue5172.go
+go118/test/fixedbugs/issue51839.go
 go118/test/fixedbugs/issue5231.go
 go118/test/fixedbugs/issue5244.go
 go118/test/fixedbugs/issue5259.dir/bug.go
@@ -11602,6 +11612,12 @@ go118/test/typeparam/issue51423.dir/b.go
 go118/test/typeparam/issue51423.go
 go118/test/typeparam/issue51522a.go
 go118/test/typeparam/issue51522b.go
+go118/test/typeparam/issue51733.go
+go118/test/typeparam/issue51765.go
+go118/test/typeparam/issue51836.dir/a.go
+go118/test/typeparam/issue51836.dir/aa.go
+go118/test/typeparam/issue51836.dir/p.go
+go118/test/typeparam/issue51836.go
 go118/test/typeparam/list.go
 go118/test/typeparam/list2.go
 go118/test/typeparam/listimp.dir/a.go
@@ -11630,6 +11646,7 @@ go118/test/typeparam/mdempsky/12.dir/a.g
 go118/test/typeparam/mdempsky/12.dir/main.go
 go118/test/typeparam/mdempsky/12.go
 go118/test/typeparam/mdempsky/13.go
+go118/test/typeparam/mdempsky/13b.go
 go118/test/typeparam/mdempsky/14.go
 go118/test/typeparam/mdempsky/15.go
 go118/test/typeparam/mdempsky/2.go
Index: pkgsrc/lang/go118/distinfo
diff -u pkgsrc/lang/go118/distinfo:1.1 pkgsrc/lang/go118/distinfo:1.2
--- pkgsrc/lang/go118/distinfo:1.1      Tue Mar 15 20:13:45 2022
+++ pkgsrc/lang/go118/distinfo  Wed Apr 13 07:46:56 2022
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2022/03/15 20:13:45 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2022/04/13 07:46:56 bsiegert Exp $
 
-BLAKE2s (go1.18.src.tar.gz) = bb3191d44e8be480f71521ff0cbddc9de797736a9e945507c0152cd203e09279
-SHA512 (go1.18.src.tar.gz) = f10356df9099e4d027415be5c73bd2551f2f941a31feb21e1ccc03b7d8faa1844f0a639a508e990712e11ec335675e57504edb323fa1eee63e1d09b8523b3b0d
-Size (go1.18.src.tar.gz) = 22827832 bytes
+BLAKE2s (go1.18.1.src.tar.gz) = 90afdcd66edadc9f649954af31f4dbfd116b2e94f4c2815f089766cc55c706bb
+SHA512 (go1.18.1.src.tar.gz) = baa053e2d713b235b9285c946b4f0842085a5224d1f4cbe92a446fbf97ed9f7289c8d4ba212fb31dd2e4eac39bb4c015f478543a1856594c2d1fc331c946f571
+Size (go1.18.1.src.tar.gz) = 22834149 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



Home | Main Index | Thread Index | Old Index