From 85aa2c3dd062cb03033555ec8e75de98e9d302cf Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Wed, 8 Oct 2025 14:19:16 -0400 Subject: [PATCH] go: bump .go-version to 1.25.2 on main (#9986) (#9991) * go: bump .go-version to 1.25.2 * go: handle changes to net/url parsing enforcement in Go 1.25.2 The fixes for CVE-2025-47912 (https://go.dev/issue/75678) change behavior when parsing invalid IPv4 addresses. Update the test to for these changes. Signed-off-by: Ryan Cragun Co-authored-by: Ryan Cragun --- .go-version | 2 +- changelog/_go-ver-1210.txt | 2 +- internalshared/configutil/normalize_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.go-version b/.go-version index d905a6d1d6..61b813d5e6 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.25.1 +1.25.2 diff --git a/changelog/_go-ver-1210.txt b/changelog/_go-ver-1210.txt index 64fbbcf8ea..cdcdfec50d 100644 --- a/changelog/_go-ver-1210.txt +++ b/changelog/_go-ver-1210.txt @@ -1,3 +1,3 @@ ```release-note:change -core: Bump Go version to 1.25.1 +core: Bump Go version to 1.25.2 ``` diff --git a/internalshared/configutil/normalize_test.go b/internalshared/configutil/normalize_test.go index 80d1d8fdd7..629825ffc3 100644 --- a/internalshared/configutil/normalize_test.go +++ b/internalshared/configutil/normalize_test.go @@ -70,7 +70,7 @@ func TestNormalizeAddr(t *testing.T) { }, "ipv4 invalid URL": { addr: "https://[10.10.1.10]:8200", - expected: "https://10.10.1.10:8200", + expected: "https://[10.10.1.10]:8200", }, "ipv4 destination address": { addr: "username@10.10.1.10",