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:           Tue Mar  5 19:37:52 UTC 2024

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

Log Message:
go122: update to 1.22.1 (security)

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

- crypto/x509: Verify panics on certificates with an unknown public key
  algorithm

  Verifying a certificate chain which contains a certificate with an unknown
  public key algorithm will cause Certificate.Verify to panic.

  This affects all crypto/tls clients, and servers that set Config.ClientAuth
  to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default
  behavior is for TLS servers to not verify client certificates.

  Thanks to John Howard (Google) for reporting this issue.

  This is CVE-2024-24783 and Go issue https://go.dev/issue/65390.

- net/http: memory exhaustion in Request.ParseMultipartForm

  When parsing a multipart form (either explicitly with
  Request.ParseMultipartForm or implicitly with Request.FormValue,
  Request.PostFormValue, or Request.FormFile), limits on the total size of the
  parsed form were not applied to the memory consumed while reading a single
  form line. This permitted a maliciously crafted input containing very long
  lines to cause allocation of arbitrarily large amounts of memory, potentially
  leading to memory exhaustion.

  ParseMultipartForm now correctly limits the maximum size of form lines.

  Thanks to Bartek Nowotarski for reporting this issue.

  This is CVE-2023-45290 and Go issue https://go.dev/issue/65383.

- net/http, net/http/cookiejar: incorrect forwarding of sensitive headers and
  cookies on HTTP redirect

  When following an HTTP redirect to a domain which is not a subdomain match or
  exact match of the initial domain, an http.Client does not forward sensitive
  headers such as "Authorization" or "Cookie". For example, a redirect from
  foo.com to www.foo.com will forward the Authorization header, but a redirect
  to bar.com will not.

  A maliciously crafted HTTP redirect could cause sensitive headers to be
  unexpectedly forwarded.

  Thanks to Juho Nurminen of Mattermost for reporting this issue.

  This is CVE-2023-45289 and Go issue https://go.dev/issue/65065.

- html/template: errors returned from MarshalJSON methods may break template
  escaping

  If errors returned from MarshalJSON methods contain user controlled data,
  they may be used to break the contextual auto-escaping behavior of the
  html/template package, allowing for subsequent actions to inject unexpected
  content into templates.

  Thanks to RyotaK (https://ryotak.net) for reporting this issue.

  This is CVE-2024-24785 and Go issue https://go.dev/issue/65697.

- net/mail: comments in display names are incorrectly handled

  The ParseAddressList function incorrectly handles comments (text within
  parentheses) within display names. Since this is a misalignment with
  conforming address parsers, it can result in different trust decisions being
  made by programs using different parsers.

  Thanks to Juho Nurminen of Mattermost and Slonser
  (https://github.com/Slonser) for reporting this issue.

  This is CVE-2024-24784 and Go issue https://go.dev/issue/65083.


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 pkgsrc/lang/go/version.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/go122/PLIST pkgsrc/lang/go122/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.203 pkgsrc/lang/go/version.mk:1.204
--- pkgsrc/lang/go/version.mk:1.203     Tue Mar  5 19:27:58 2024
+++ pkgsrc/lang/go/version.mk   Tue Mar  5 19:37:52 2024
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.203 2024/03/05 19:27:58 bsiegert Exp $
+# $NetBSD: version.mk,v 1.204 2024/03/05 19:37:52 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"
 
-GO122_VERSION= 1.22.0
+GO122_VERSION= 1.22.1
 GO121_VERSION= 1.21.8
 GO120_VERSION= 1.20.14
 GO119_VERSION= 1.19.13

Index: pkgsrc/lang/go122/PLIST
diff -u pkgsrc/lang/go122/PLIST:1.1 pkgsrc/lang/go122/PLIST:1.2
--- pkgsrc/lang/go122/PLIST:1.1 Fri Feb  9 20:34:10 2024
+++ pkgsrc/lang/go122/PLIST     Tue Mar  5 19:37:52 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2024/02/09 20:34:10 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/03/05 19:37:52 bsiegert Exp $
 bin/go${GOVERSSUFFIX}
 bin/gofmt${GOVERSSUFFIX}
 go122/CONTRIBUTING.md
@@ -2070,6 +2070,7 @@ go122/src/cmd/go/testdata/script/build_i
 go122/src/cmd/go/testdata/script/build_issue59571.txt
 go122/src/cmd/go/testdata/script/build_issue62156.txt
 go122/src/cmd/go/testdata/script/build_issue6480.txt
+go122/src/cmd/go/testdata/script/build_issue_65528.txt
 go122/src/cmd/go/testdata/script/build_link_x_import_path_escape.txt
 go122/src/cmd/go/testdata/script/build_multi_main.txt
 go122/src/cmd/go/testdata/script/build_n_cgo.txt
@@ -2600,6 +2601,7 @@ go122/src/cmd/go/testdata/script/mod_ven
 go122/src/cmd/go/testdata/script/mod_vendor_unused.txt
 go122/src/cmd/go/testdata/script/mod_vendor_unused_only.txt
 go122/src/cmd/go/testdata/script/mod_verify.txt
+go122/src/cmd/go/testdata/script/mod_verify_work.txt
 go122/src/cmd/go/testdata/script/mod_versions.txt
 go122/src/cmd/go/testdata/script/mod_why.txt
 go122/src/cmd/go/testdata/script/modfile_flag.txt
Index: pkgsrc/lang/go122/distinfo
diff -u pkgsrc/lang/go122/distinfo:1.1 pkgsrc/lang/go122/distinfo:1.2
--- pkgsrc/lang/go122/distinfo:1.1      Fri Feb  9 20:34:10 2024
+++ pkgsrc/lang/go122/distinfo  Tue Mar  5 19:37:52 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2024/02/09 20:34:10 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2024/03/05 19:37:52 bsiegert Exp $
 
-BLAKE2s (go1.22.0.src.tar.gz) = cebb4bbf403a754d03a5a47dc4121f70ab796e692ba40704ae785aeecc6cef9b
-SHA512 (go1.22.0.src.tar.gz) = f47fdac3281463757b3db9f6ab747f86ed7263beed52c820ec2571375a578034df02c0b76912c19fab3a58df3b04d79b6aae084163d1d5847c907aeb30b936e3
-Size (go1.22.0.src.tar.gz) = 27544122 bytes
+BLAKE2s (go1.22.1.src.tar.gz) = 87e9705c9221285dc0362891b320252da5ca380f73329e564026133807f7205f
+SHA512 (go1.22.1.src.tar.gz) = 627530c3fa2ea872478e1df8ee20db2ddc3c94581fff4e66bda21ca45a643e9915f97115401f79667cd7e856ccca1b40a842f4c0b509a472c75696e3bdb3a908
+Size (go1.22.1.src.tar.gz) = 27548577 bytes
 SHA1 (patch-misc_ios_clangwrap.sh) = 0a06403609cb7bce2e6f65444fd322f486761afe
 SHA1 (patch-src_cmd_dist_build.go) = cbb9576f832806b0cbef121ea38ba6a54db95bc3
 SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35



Home | Main Index | Thread Index | Old Index