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: Sat Aug 15 12:26:19 UTC 2026
Modified Files:
pkgsrc/lang/go: version.mk
pkgsrc/lang/go125: PLIST distinfo
pkgsrc/lang/go126: PLIST distinfo
Log Message:
go: update to 1.25.13 and 1.26.5 (security)
These releases include 10 security fixes following the security policy:
- x/mod/sumdb/tlog: fix transparency log tile verification bypass
A malicious GOPROXY was previously capable of forging
up to two sumdb tiles that allow for a requested module
to bypass the GOSUMDB check and persist attacker-controlled
module content to a local Go module cache.
This attack allows for a malicious GOPROXY to serve
malicious module content that cannot be detected
by evaluating the transparency log.
All tiles are now correctly verified against their parents.
In order to determine if you have been affected:
rm -r go.sum go.work.sum vendor/ && go mod tidy
Thanks to Filippo Valsorda (Geomys) for reporting this issue.
This is CVE-2026-56865 and Go issue https://go.dev/issue/80744.
- x/mod/sumdb: ignore unrelated, unauthenticated hashes in Lookup
A malicious GOSUMDB was capable of serving arbitrary
module content not contained within the transparency
log.
This attack allows for a coordinating GOPROXY and
GOSUMDB to serve a client malicious module content
that cannot be detected by evaluating the transparency
log.
In order to determine if you have been affected:
rm -r go.sum go.work.sum vendor/ && go mod tidy
Thanks to mundur for reporting this issue.
This is CVE-2026-56864 and Go issue https://go.dev/issue/80745.
- encoding/xml: add recursion depth guard during decode
Previously, DecodeElement would reset the depth counter
causing it to never fire; this could lead to stack
exhaustion.
This is CVE-2026-56859 and Go issue https://go.dev/issue/80481.
- net/http: apply ReadHeaderTimeout when doing unencrypted HTTP/2 check
When a server is configured to support unencrypted HTTP/2, it reads a
few bytes from each new connection to see if they contain the HTTP/2
client preface. Previously, this was being done with no timeout applied.
ReadHeaderTimeout is now applied for this.
This is CVE-2026-56853 and Go issue https://go.dev/issue/80205.
net/url: avoid quadratic complexity in resolvePath
Previously, resolving relative paths containing parent directory (..)
segments performed string conversions and buffer rewrites on each step,
resulting in quadratic time complexity and high memory allocation overhead.
Now, path resolution operates on a byte buffer using index-based backtracking
for .. segments, eliminating the quadratic time complexity and significantly
reducing memory allocations.
This is CVE-2026-56860 and Go issue https://go.dev/issue/80494.
- golang.org/x/net/dns/dnsmessage: panic when parsing invalid SVCB record
Parsing an invalid SVCB or HTTPS RR can panic when
the size of a parameter value overflows the message buffer.
Thanks to Mundur (https://github.com/M0nd0R) for reporting this issue.
This is CVE-2026-46600 and Go issue https://go.dev/issue/79795.
- crypto/tls: limit handshake messages we are willing to accept post-handshake
Previously, we always counted handshake messages, such as KeyUpdate, as
state-advancing, regardless of whether a handshake has been completed or
not. As a result, a malicious client can keep sending KeyUpdate messages
to force the server to keep performing key derivation operations
indefinitely.
Thanks to Qi Deng of Aurascape.ai for reporting this issue.
This is CVE-2026-56862 and Go issue https://go.dev/issue/80528.
- html/template: fix Javascript regexp context tracking
Previously, pathological inputs could close an
unescaped / early, allowing for attack-controlled
data to inject arbitrary content, potentially
leading to XSS.
Thanks to Ali Sherif for reporting this issue.
This is CVE-2026-56858 and Go issue https://go.dev/issue/80435.
- x/net/idna: failure to reject ASCII-only Punycode-encoded labels
The ToASCII and ToUnicode functions incorrectly accepted Punycode-encoded
labels that decode to an ASCII-only label. For example,
ToUnicode("xn--example-.com") incorrectly returned the name "example.com"
rather than an error.
The idna package implements the processing algorithm from UTS 46.
Older versions of UTS 46 included a specification bug which permitted
multiple ASCII labels to decode to the same Unicode label.
UTS 46 revision 33 fixed the specification bug.
The idna package now implements the updated specification.
This behavior can lead to privilege escalation in programs using the idna
package. For example, a program which performs privilege checks on the ASCII
hostname may reject "example.com" but permit "xn--example-.com". If that
program subsequently converts the ASCII hostname to Unicode, it will
inadvertently permits access to the Unicode name "example.com".
Thanks to KC1zs4 (https://github.com/KC1zs4) for reporting this issue.
This is CVE-2026-39821 and Go issue https://go.dev/issue/78760.
- encoding/asn1: enforce maximum recursion depth
Enforce a recursion limit in Unmarshal to prevent stack exhaustion
when parsing deeply-nested, recursive structures.
Thanks to Marwan Atia (marwansamir688%gmail.com@localhost) for reporting this issue.
This is CVE-2026-33818 and Go issue https://go.dev/issue/80405.
To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 pkgsrc/lang/go/version.mk
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/go125/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/go125/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/go126/PLIST pkgsrc/lang/go126/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.251 pkgsrc/lang/go/version.mk:1.252
--- pkgsrc/lang/go/version.mk:1.251 Wed Jul 8 18:31:11 2026
+++ pkgsrc/lang/go/version.mk Sat Aug 15 12:26:19 2026
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.251 2026/07/08 18:31:11 bsiegert Exp $
+# $NetBSD: version.mk,v 1.252 2026/08/15 12:26:19 bsiegert Exp $
#
# If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -6,8 +6,8 @@
#
.include "go-vars.mk"
-GO126_VERSION= 1.26.5
-GO125_VERSION= 1.25.12
+GO126_VERSION= 1.26.6
+GO125_VERSION= 1.25.13
GO124_VERSION= 1.24.13
GO123_VERSION= 1.23.12
GO122_VERSION= 1.22.12
Index: pkgsrc/lang/go125/PLIST
diff -u pkgsrc/lang/go125/PLIST:1.9 pkgsrc/lang/go125/PLIST:1.10
--- pkgsrc/lang/go125/PLIST:1.9 Wed Jul 8 18:31:11 2026
+++ pkgsrc/lang/go125/PLIST Sat Aug 15 12:26:19 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2026/07/08 18:31:11 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.10 2026/08/15 12:26:19 bsiegert Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go125/CONTRIBUTING.md
@@ -13629,6 +13629,7 @@ go125/test/fixedbugs/issue79182.go
go125/test/fixedbugs/issue79186.go
go125/test/fixedbugs/issue7921.go
go125/test/fixedbugs/issue7944.go
+go125/test/fixedbugs/issue79874.go
go125/test/fixedbugs/issue7995.go
go125/test/fixedbugs/issue7995b.dir/x1.go
go125/test/fixedbugs/issue7995b.dir/x2.go
@@ -13637,8 +13638,11 @@ go125/test/fixedbugs/issue7996.go
go125/test/fixedbugs/issue7997.go
go125/test/fixedbugs/issue7998.go
go125/test/fixedbugs/issue8004.go
+go125/test/fixedbugs/issue80097.go
go125/test/fixedbugs/issue8011.go
+go125/test/fixedbugs/issue80127.go
go125/test/fixedbugs/issue8017.go
+go125/test/fixedbugs/issue80188.go
go125/test/fixedbugs/issue8028.go
go125/test/fixedbugs/issue8036.go
go125/test/fixedbugs/issue8039.go
@@ -13646,6 +13650,10 @@ go125/test/fixedbugs/issue8042.go
go125/test/fixedbugs/issue8047.go
go125/test/fixedbugs/issue8047b.go
go125/test/fixedbugs/issue8048.go
+go125/test/fixedbugs/issue80517_1.go
+go125/test/fixedbugs/issue80517_2.go
+go125/test/fixedbugs/issue80517_3.go
+go125/test/fixedbugs/issue80577.go
go125/test/fixedbugs/issue8060.dir/a.go
go125/test/fixedbugs/issue8060.dir/b.go
go125/test/fixedbugs/issue8060.go
Index: pkgsrc/lang/go125/distinfo
diff -u pkgsrc/lang/go125/distinfo:1.14 pkgsrc/lang/go125/distinfo:1.15
--- pkgsrc/lang/go125/distinfo:1.14 Wed Jul 8 18:31:11 2026
+++ pkgsrc/lang/go125/distinfo Sat Aug 15 12:26:19 2026
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.14 2026/07/08 18:31:11 bsiegert Exp $
+$NetBSD: distinfo,v 1.15 2026/08/15 12:26:19 bsiegert Exp $
BLAKE2s (9ba0948172cbb05308fb2a9db823a720f8ffb9ad.patch) = e1cc8b23dd53ddb2e0d034b15afda2c5f83a5103a9536fd54d717b07f5fd9628
SHA512 (9ba0948172cbb05308fb2a9db823a720f8ffb9ad.patch) = 0a0787b8ea302356b724c36baf0db0df4ba29e5c56a6facc7d5a86d159dd6de23817ca62c3446f7e134810b44ebd79b6758331630e2ba8b196e6b249f1871d33
Size (9ba0948172cbb05308fb2a9db823a720f8ffb9ad.patch) = 1661 bytes
-BLAKE2s (go1.25.12.src.tar.gz) = 2650deb9f9fff8ec52466c156891bee279e71d178d9885c774bdcf3b0cc35ab9
-SHA512 (go1.25.12.src.tar.gz) = 748341d737c3ce9eb64a0f072c70be7cf3ceab7d1033da2d88b3aea4cf0de96745cded982b6db4a47de505c14e49babf59926fa61e6a86f2e22e61625daf762a
-Size (go1.25.12.src.tar.gz) = 32013699 bytes
+BLAKE2s (go1.25.13.src.tar.gz) = 503a8ee3262397838da9951a627e13577d4aefdbfa6e455b7c54b5664862adc8
+SHA512 (go1.25.13.src.tar.gz) = a7ef774fd747359fd7490baf3a6e4f358a78c38fb56d741c5d5712d34b574d3d722e3e42042f5a6ecd4637707e6c5b159705d4de62027db3684f205e240caa71
+Size (go1.25.13.src.tar.gz) = 32023100 bytes
SHA1 (patch-misc_ios_clangwrap.sh) = 28ea4426336155d6720f7e16b43f0207b47a6dd8
SHA1 (patch-src_cmd_dist_build.go) = cbb9576f832806b0cbef121ea38ba6a54db95bc3
SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35
Index: pkgsrc/lang/go126/PLIST
diff -u pkgsrc/lang/go126/PLIST:1.6 pkgsrc/lang/go126/PLIST:1.7
--- pkgsrc/lang/go126/PLIST:1.6 Wed Jul 8 18:31:11 2026
+++ pkgsrc/lang/go126/PLIST Sat Aug 15 12:26:19 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2026/07/08 18:31:11 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/08/15 12:26:19 bsiegert Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go126/CONTRIBUTING.md
@@ -14119,6 +14119,7 @@ go126/test/fixedbugs/issue79182.go
go126/test/fixedbugs/issue79186.go
go126/test/fixedbugs/issue7921.go
go126/test/fixedbugs/issue7944.go
+go126/test/fixedbugs/issue79874.go
go126/test/fixedbugs/issue7995.go
go126/test/fixedbugs/issue7995b.dir/x1.go
go126/test/fixedbugs/issue7995b.dir/x2.go
@@ -14128,8 +14129,11 @@ go126/test/fixedbugs/issue7997.go
go126/test/fixedbugs/issue7998.go
go126/test/fixedbugs/issue80004.go
go126/test/fixedbugs/issue8004.go
+go126/test/fixedbugs/issue80097.go
go126/test/fixedbugs/issue8011.go
+go126/test/fixedbugs/issue80127.go
go126/test/fixedbugs/issue8017.go
+go126/test/fixedbugs/issue80188.go
go126/test/fixedbugs/issue8028.go
go126/test/fixedbugs/issue8036.go
go126/test/fixedbugs/issue8039.go
@@ -14137,6 +14141,10 @@ go126/test/fixedbugs/issue8042.go
go126/test/fixedbugs/issue8047.go
go126/test/fixedbugs/issue8047b.go
go126/test/fixedbugs/issue8048.go
+go126/test/fixedbugs/issue80517_1.go
+go126/test/fixedbugs/issue80517_2.go
+go126/test/fixedbugs/issue80517_3.go
+go126/test/fixedbugs/issue80577.go
go126/test/fixedbugs/issue8060.dir/a.go
go126/test/fixedbugs/issue8060.dir/b.go
go126/test/fixedbugs/issue8060.go
Index: pkgsrc/lang/go126/distinfo
diff -u pkgsrc/lang/go126/distinfo:1.6 pkgsrc/lang/go126/distinfo:1.7
--- pkgsrc/lang/go126/distinfo:1.6 Wed Jul 8 18:31:11 2026
+++ pkgsrc/lang/go126/distinfo Sat Aug 15 12:26:19 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2026/07/08 18:31:11 bsiegert Exp $
+$NetBSD: distinfo,v 1.7 2026/08/15 12:26:19 bsiegert Exp $
-BLAKE2s (go1.26.5.src.tar.gz) = dea23908aed4269a49868ded2c57efdebd4628e98bd40916007b86db72f4e1e2
-SHA512 (go1.26.5.src.tar.gz) = 1c1ff7bc002438e77c968155b077c51df87935d1a1a214c8750e748abe3af5cf83769eae5cfe85ca1b12a0e6fa4a0dfe4344b1023f037f206dad328607bba9f7
-Size (go1.26.5.src.tar.gz) = 34140216 bytes
+BLAKE2s (go1.26.6.src.tar.gz) = b8d4b6d18abc61fdce842312f9f05efb408ce5fd0e145ec98890eec525c14281
+SHA512 (go1.26.6.src.tar.gz) = 73325ff6e1ed60228a4c409baf2fc592f41c10f77d86207d3e98d8ca764ec43249c453ac70997dd3990ccbd11efa872bbfcdb6623e0a67b7dfd7ab4cf4dfe1e8
+Size (go1.26.6.src.tar.gz) = 34151057 bytes
SHA1 (patch-misc_ios_clangwrap.sh) = 28ea4426336155d6720f7e16b43f0207b47a6dd8
SHA1 (patch-src_cmd_dist_build.go) = cbb9576f832806b0cbef121ea38ba6a54db95bc3
SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35
Home |
Main Index |
Thread Index |
Old Index