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 Dec 5 19:17:57 UTC 2023
Modified Files:
pkgsrc/lang/go: version.mk
pkgsrc/lang/go120: PLIST distinfo
Log Message:
go120: update to 1.20.12 (security)
This minor release includes 3 security fixes following the security policy:
- net/http: limit chunked data overhead
A malicious HTTP sender can use chunk extensions to cause a receiver reading
from a request or response body to read many more bytes from the network than
are in the body.
A malicious HTTP client can further exploit this to cause a server to
automatically read a large amount of data (up to about 1GiB) when a handler
fails to read the entire body of a request.
Chunk extensions are a little-used HTTP feature which permit including
additional metadata in a request or response body sent using the chunked
encoding. The net/http chunked encoding reader discards this metadata. A
sender can exploit this by inserting a large metadata segment with each byte
transferred. The chunk reader now produces an error if the ratio of real body
to encoded bytes grows too small.
Thanks to Bartek Nowotarski for reporting this issue.
This is CVE-2023-39326 and Go issue https://go.dev/issue/64433.
- cmd/go: go get may unexpectedly fallback to insecure git
Using go get to fetch a module with the ".git" suffix may unexpectedly
fallback to the insecure "git://" protocol if the module is unavailable via
the secure "https://" and "git+ssh://" protocols, even if GOINSECURE is not
set for said module. This only affects users who are not using the module
proxy and are fetching modules directly (i.e. GOPROXY=off).
Thanks to David Leadbeater for reporting this issue.
This is CVE-2023-45285 and Go issue https://go.dev/issue/63845.
- path/filepath: retain trailing \ when cleaning paths like \\?\c:\
Go 1.20.11 and Go 1.21.4 inadvertently changed the definition of the volume
name in Windows paths starting with \\?\, resulting in
filepath.Clean(\\?\c:\) returning \\?\c: rather than \\?\c:\ (among other
effects). The previous behavior has been restored.
This is an update to CVE-2023-45283 and Go issue https://go.dev/issue/64028.
To generate a diff of this commit:
cvs rdiff -u -r1.195 -r1.196 pkgsrc/lang/go/version.mk
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/go120/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/go120/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.195 pkgsrc/lang/go/version.mk:1.196
--- pkgsrc/lang/go/version.mk:1.195 Wed Nov 15 15:54:40 2023
+++ pkgsrc/lang/go/version.mk Tue Dec 5 19:17:57 2023
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.195 2023/11/15 15:54:40 jperkin Exp $
+# $NetBSD: version.mk,v 1.196 2023/12/05 19:17:57 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"
GO121_VERSION= 1.21.4
-GO120_VERSION= 1.20.11
+GO120_VERSION= 1.20.12
GO119_VERSION= 1.19.13
GO118_VERSION= 1.18.10
GO14_VERSION= 1.4.3
Index: pkgsrc/lang/go120/PLIST
diff -u pkgsrc/lang/go120/PLIST:1.10 pkgsrc/lang/go120/PLIST:1.11
--- pkgsrc/lang/go120/PLIST:1.10 Fri Nov 10 15:39:34 2023
+++ pkgsrc/lang/go120/PLIST Tue Dec 5 19:17:57 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2023/11/10 15:39:34 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.11 2023/12/05 19:17:57 bsiegert Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go120/CONTRIBUTING.md
@@ -2271,6 +2271,7 @@ go120/src/cmd/go/testdata/script/mod_ini
go120/src/cmd/go/testdata/script/mod_init_invalid_major.txt
go120/src/cmd/go/testdata/script/mod_init_path.txt
go120/src/cmd/go/testdata/script/mod_init_tidy.txt
+go120/src/cmd/go/testdata/script/mod_insecure_issue63845.txt
go120/src/cmd/go/testdata/script/mod_install_hint.txt
go120/src/cmd/go/testdata/script/mod_install_pkg_version.txt
go120/src/cmd/go/testdata/script/mod_install_versioned.txt
@@ -11053,6 +11054,7 @@ go120/test/fixedbugs/issue6295.dir/p1.go
go120/test/fixedbugs/issue6295.dir/p2.go
go120/test/fixedbugs/issue6295.go
go120/test/fixedbugs/issue6298.go
+go120/test/fixedbugs/issue63955.go
go120/test/fixedbugs/issue6399.go
go120/test/fixedbugs/issue6402.go
go120/test/fixedbugs/issue6403.go
Index: pkgsrc/lang/go120/distinfo
diff -u pkgsrc/lang/go120/distinfo:1.12 pkgsrc/lang/go120/distinfo:1.13
--- pkgsrc/lang/go120/distinfo:1.12 Fri Nov 10 15:39:34 2023
+++ pkgsrc/lang/go120/distinfo Tue Dec 5 19:17:57 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2023/11/10 15:39:34 bsiegert Exp $
+$NetBSD: distinfo,v 1.13 2023/12/05 19:17:57 bsiegert Exp $
-BLAKE2s (go1.20.11.src.tar.gz) = b636e61be275b981dc8140041d423373bfd6077c6ee917abce41348d5adb9717
-SHA512 (go1.20.11.src.tar.gz) = d89fb9ecd9fe394b7f6b9a0ad98db2f9401bec203d64cc5c301d3678f6a74524bae85a9ece31ad2ea66a3ffec90f35cb30e600e0c910bcc6010ad36b501c5c37
-Size (go1.20.11.src.tar.gz) = 26198249 bytes
+BLAKE2s (go1.20.12.src.tar.gz) = bd0df3f941d3b4be0242ed3bb7e54ea1370143ebaa8adbfc82ee525fa9e3229d
+SHA512 (go1.20.12.src.tar.gz) = 3f4d1a22a0f1dd7e8feb008517e43b32c3600ce77168e5edfb75b4060577362ae62f28c9891de0f7bf553407bd8e09efc1563d34ee8af5285b3c80b3946f4b65
+Size (go1.20.12.src.tar.gz) = 26200362 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