pkgsrc/lang/go
bsiegert a7be4ea832 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.
2022-04-13 07:46:56 +00:00
..
bootstrap.mk lang/go: Fix bootstrap on macOS Monterrey 2022-03-09 15:15:59 +00:00
DESCR lang: Re-enable lang/go as a meta package. 2018-11-21 11:25:00 +00:00
go-dep.mk lang/go: extend _VARGROUPS section in go-dep.mk 2019-09-10 20:01:06 +00:00
go-module.mk go-module.mk: allow packages that use this to have post-extract & pre-clean 2022-01-20 21:37:11 +00:00
go-package.mk Mark go-package.mk as deprecated. 2021-05-08 15:55:04 +00:00
go-vars.mk go: not ready for PIE 2021-09-27 16:02:36 +00:00
Makefile all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
version.mk go118: update to 1.18.1 2022-04-13 07:46:56 +00:00