pkgsrc-WIP-changes archive

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

go124: update to 1.24rc2



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Fri Jan 17 11:37:49 2025 +0100
Changeset:	8f8de8db10b1a52be68f9d5f56b6f55b002808fa

Modified Files:
	go124/Makefile
	go124/PLIST
	go124/distinfo

Log Message:
go124: update to 1.24rc2

This release candidate includes 4 security fixes following the security policy:

-   crypto/x509: usage of IPv6 zone IDs can bypass URI name constraints

    A certificate with a URI which has a IPv6 address with a zone ID may
    incorrectly satisfy a URI name constraint that applies to the certificate
    chain.

    Certificates containing URIs are not permitted in the web PKI, so this
    only affects users of private PKIs which make use of URIs.

    Thanks to Juho Forsén of Mattermost for reporting this issue.

    This is CVE-2024-45341 and Go issue https://go.dev/issue/71156.

-   net/http: sensitive headers incorrectly sent after cross-domain redirect

    The HTTP client drops sensitive headers after following a cross-domain redirect.
    For example, a request to a.com/ containing an Authorization header which is
    redirected to b.com/ will not send that header to b.com.

    In the event that the client received a subsequent same-domain redirect, however,
    the sensitive headers would be restored. For example, a chain of redirects from
    a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization
    header to b.com/2.

    Thanks to Kyle Seely for reporting this issue.

    This is CVE-2024-45336 and Go issue https://go.dev/issue/70530.

-   cmd/go: GOAUTH credential leak

    Credentials provided via the new GOAUTH feature were not being properly
    segmented by domain, allowing a malicious server to request credentials they
    should not have access to. By default, unless otherwise set, this only affected
    credentials stored in the users .netrc file.

    Thanks to Juho Forsén of Mattermost for reporting this issue.

    This is CVE-2024-45340 and Go issue https://go.dev/issue/71249.

-   crypto/x509: ParsePKCS1PrivateKey panic with partial keys

    Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic
    when verifying that the key is well formed.

    Thanks to Philippe Antoine (Catena cyber) for reporting this issue.

    This is CVE-2025-22865 and Go issue https://go.dev/issue/71216.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8f8de8db10b1a52be68f9d5f56b6f55b002808fa

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

diffstat:
 go124/Makefile |  2 +-
 go124/PLIST    | 21 +++++++++++++++++++--
 go124/distinfo |  6 +++---
 3 files changed, 23 insertions(+), 6 deletions(-)

diffs:
diff --git a/go124/Makefile b/go124/Makefile
index b36f311491..867b2fe560 100644
--- a/go124/Makefile
+++ b/go124/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.5 2024/12/04 18:51:39 bsiegert Exp $
 
-GO124_VERSION=	1.24rc1
+GO124_VERSION=	1.24rc2
 .include "../../lang/go/version.mk"
 GO_BOOTSTRAP_REQD=	122
 .include "../../lang/go/bootstrap.mk"
diff --git a/go124/PLIST b/go124/PLIST
index 8b440989fd..5fd1058802 100644
--- a/go124/PLIST
+++ b/go124/PLIST
@@ -1195,6 +1195,7 @@ go124/src/cmd/compile/internal/syntax/testdata/issue63835.go
 go124/src/cmd/compile/internal/syntax/testdata/issue65790.go
 go124/src/cmd/compile/internal/syntax/testdata/issue68589.go
 go124/src/cmd/compile/internal/syntax/testdata/issue69506.go
+go124/src/cmd/compile/internal/syntax/testdata/issue70974.go
 go124/src/cmd/compile/internal/syntax/testdata/linalg.go
 go124/src/cmd/compile/internal/syntax/testdata/map.go
 go124/src/cmd/compile/internal/syntax/testdata/map2.go
@@ -1589,6 +1590,7 @@ go124/src/cmd/go/internal/cache/default.go
 go124/src/cmd/go/internal/cache/hash.go
 go124/src/cmd/go/internal/cache/hash_test.go
 go124/src/cmd/go/internal/cache/prog.go
+go124/src/cmd/go/internal/cacheprog/cacheprog.go
 go124/src/cmd/go/internal/cfg/bench_test.go
 go124/src/cmd/go/internal/cfg/cfg.go
 go124/src/cmd/go/internal/cfg/zdefaultcc.go
@@ -2107,6 +2109,7 @@ go124/src/cmd/go/testdata/script/build_cache_link.txt
 go124/src/cmd/go/testdata/script/build_cache_output.txt
 go124/src/cmd/go/testdata/script/build_cache_pgo.txt
 go124/src/cmd/go/testdata/script/build_cache_trimpath.txt
+go124/src/cmd/go/testdata/script/build_cacheprog_issue70848.txt
 go124/src/cmd/go/testdata/script/build_cc_cache_issue64423.txt
 go124/src/cmd/go/testdata/script/build_cd_gopath_different.txt
 go124/src/cmd/go/testdata/script/build_cgo_consistent_results.txt
@@ -2236,6 +2239,7 @@ go124/src/cmd/go/testdata/script/env_cache.txt
 go124/src/cmd/go/testdata/script/env_changed.txt
 go124/src/cmd/go/testdata/script/env_cross_build.txt
 go124/src/cmd/go/testdata/script/env_exp.txt
+go124/src/cmd/go/testdata/script/env_gocacheprog.txt
 go124/src/cmd/go/testdata/script/env_gomod_issue61455.txt
 go124/src/cmd/go/testdata/script/env_issue46807.txt
 go124/src/cmd/go/testdata/script/env_sanitize.txt
@@ -2770,6 +2774,7 @@ go124/src/cmd/go/testdata/script/test_fuzz_cache.txt
 go124/src/cmd/go/testdata/script/test_fuzz_cgo.txt
 go124/src/cmd/go/testdata/script/test_fuzz_chatty.txt
 go124/src/cmd/go/testdata/script/test_fuzz_cleanup.txt
+go124/src/cmd/go/testdata/script/test_fuzz_context.txt
 go124/src/cmd/go/testdata/script/test_fuzz_cov.txt
 go124/src/cmd/go/testdata/script/test_fuzz_deadline.txt
 go124/src/cmd/go/testdata/script/test_fuzz_dup_cache.txt
@@ -3479,6 +3484,7 @@ go124/src/cmd/link/testdata/dynimportvar/asm/a_amd64.s
 go124/src/cmd/link/testdata/dynimportvar/asm/a_arm64.s
 go124/src/cmd/link/testdata/dynimportvar/main.go
 go124/src/cmd/link/testdata/linkname/badlinkname.go
+go124/src/cmd/link/testdata/linkname/builtin.go
 go124/src/cmd/link/testdata/linkname/coro.go
 go124/src/cmd/link/testdata/linkname/coro2.go
 go124/src/cmd/link/testdata/linkname/coro_asm/asm.s
@@ -4628,6 +4634,7 @@ go124/src/crypto/internal/fips140/aes/gcm/ghash.go
 go124/src/crypto/internal/fips140/aes/gcm/interface_test.go
 go124/src/crypto/internal/fips140/aes/interface_test.go
 go124/src/crypto/internal/fips140/alias/alias.go
+go124/src/crypto/internal/fips140/asan.go
 go124/src/crypto/internal/fips140/bigmod/_asm/go.mod
 go124/src/crypto/internal/fips140/bigmod/_asm/go.sum
 go124/src/crypto/internal/fips140/bigmod/_asm/nat_amd64_asm.go
@@ -4645,8 +4652,8 @@ go124/src/crypto/internal/fips140/bigmod/nat_s390x.s
 go124/src/crypto/internal/fips140/bigmod/nat_test.go
 go124/src/crypto/internal/fips140/bigmod/nat_wasm.go
 go124/src/crypto/internal/fips140/bigmod/testdata/mod_inv_tests.txt
+go124/src/crypto/internal/fips140/boring.go
 go124/src/crypto/internal/fips140/cast.go
-go124/src/crypto/internal/fips140/check/asan.go
 go124/src/crypto/internal/fips140/check/check.go
 go124/src/crypto/internal/fips140/check/checktest/asm.s
 go124/src/crypto/internal/fips140/check/checktest/asm_386.s
@@ -4656,10 +4663,10 @@ go124/src/crypto/internal/fips140/check/checktest/asm_arm64.s
 go124/src/crypto/internal/fips140/check/checktest/asm_none.go
 go124/src/crypto/internal/fips140/check/checktest/asm_stub.go
 go124/src/crypto/internal/fips140/check/checktest/test.go
-go124/src/crypto/internal/fips140/check/noasan.go
 go124/src/crypto/internal/fips140/drbg/cast.go
 go124/src/crypto/internal/fips140/drbg/ctrdrbg.go
 go124/src/crypto/internal/fips140/drbg/rand.go
+go124/src/crypto/internal/fips140/drbg/rand_test.go
 go124/src/crypto/internal/fips140/ecdh/cast.go
 go124/src/crypto/internal/fips140/ecdh/ecdh.go
 go124/src/crypto/internal/fips140/ecdh/order_test.go
@@ -4748,6 +4755,8 @@ go124/src/crypto/internal/fips140/nistec/p256_table.go
 go124/src/crypto/internal/fips140/nistec/p256_table_test.go
 go124/src/crypto/internal/fips140/nistec/p384.go
 go124/src/crypto/internal/fips140/nistec/p521.go
+go124/src/crypto/internal/fips140/notasan.go
+go124/src/crypto/internal/fips140/notboring.go
 go124/src/crypto/internal/fips140/pbkdf2/cast.go
 go124/src/crypto/internal/fips140/pbkdf2/pbkdf2.go
 go124/src/crypto/internal/fips140/rsa/cast.go
@@ -4758,6 +4767,7 @@ go124/src/crypto/internal/fips140/rsa/pkcs1v15_test.go
 go124/src/crypto/internal/fips140/rsa/pkcs1v22.go
 go124/src/crypto/internal/fips140/rsa/pkcs1v22_test.go
 go124/src/crypto/internal/fips140/rsa/rsa.go
+go124/src/crypto/internal/fips140/rsa/testdata/gcd_lcm_tests.txt
 go124/src/crypto/internal/fips140/rsa/testdata/miller_rabin_tests.txt
 go124/src/crypto/internal/fips140/sha256/_asm/go.mod
 go124/src/crypto/internal/fips140/sha256/_asm/go.sum
@@ -6069,6 +6079,8 @@ go124/src/go/doc/testdata/examples/issue43658.go
 go124/src/go/doc/testdata/examples/issue43658.golden
 go124/src/go/doc/testdata/examples/multiple.go
 go124/src/go/doc/testdata/examples/multiple.golden
+go124/src/go/doc/testdata/examples/shadow_predeclared.go
+go124/src/go/doc/testdata/examples/shadow_predeclared.golden
 go124/src/go/doc/testdata/examples/values.go
 go124/src/go/doc/testdata/examples/values.golden
 go124/src/go/doc/testdata/examples/whole_file.go
@@ -6966,6 +6978,8 @@ go124/src/internal/goexperiment/exp_swissmap_off.go
 go124/src/internal/goexperiment/exp_swissmap_on.go
 go124/src/internal/goexperiment/exp_synchashtriemap_off.go
 go124/src/internal/goexperiment/exp_synchashtriemap_on.go
+go124/src/internal/goexperiment/exp_synctest_off.go
+go124/src/internal/goexperiment/exp_synctest_on.go
 go124/src/internal/goexperiment/flags.go
 go124/src/internal/goexperiment/mkconsts.go
 go124/src/internal/goos/gengoos.go
@@ -10451,6 +10465,7 @@ go124/src/testing/benchmark.go
 go124/src/testing/benchmark_test.go
 go124/src/testing/cover.go
 go124/src/testing/example.go
+go124/src/testing/example_loop_test.go
 go124/src/testing/export_test.go
 go124/src/testing/flag_test.go
 go124/src/testing/fstest/mapfs.go
@@ -10468,6 +10483,7 @@ go124/src/testing/iotest/reader.go
 go124/src/testing/iotest/reader_test.go
 go124/src/testing/iotest/writer.go
 go124/src/testing/iotest/writer_test.go
+go124/src/testing/loop_test.go
 go124/src/testing/match.go
 go124/src/testing/match_test.go
 go124/src/testing/newcover.go
@@ -10480,6 +10496,7 @@ go124/src/testing/slogtest/example_test.go
 go124/src/testing/slogtest/run_test.go
 go124/src/testing/slogtest/slogtest.go
 go124/src/testing/sub_test.go
+go124/src/testing/synctest/context_example_test.go
 go124/src/testing/synctest/synctest.go
 go124/src/testing/testing.go
 go124/src/testing/testing_other.go
diff --git a/go124/distinfo b/go124/distinfo
index d3ffe683a9..073c5ff8ea 100644
--- a/go124/distinfo
+++ b/go124/distinfo
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.5 2024/12/04 18:51:39 bsiegert Exp $
 
-BLAKE2s (go1.24rc1.src.tar.gz) = 33b99dc9993748b1ab00a87c80aa3da7ad028f1b8249ac7b343e95684aaa58d1
-SHA512 (go1.24rc1.src.tar.gz) = f37b24f9964a7f6580ca0ecb1c4d197d8053429753b1b559dae0d66041c7274a3981daae5dddf93677e23a20dcf5cbdc4b70fbc772df46a611f6a063af3d3d64
-Size (go1.24rc1.src.tar.gz) = 30013626 bytes
+BLAKE2s (go1.24rc2.src.tar.gz) = 21c733753a7b65b754dab5bac126dd4fe5498ac447ed7cc6468784ddb22a5437
+SHA512 (go1.24rc2.src.tar.gz) = 767c5c030a3fd84be7c449d431148df5da5fb5cf3d19886e238ea1c535a36f25b3a3433dfc690ef0dac2fc4e9fc9f899bc748494bc1339710267ba02de178676
+Size (go1.24rc2.src.tar.gz) = 30043161 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