Skip to content

Commit 9bcc886

Browse files
committed
update to go1.24.5
- https://github.com/golang/go/issues?q=milestone%3AGo1.24.5+label%3ACherryPickApproved - full diff: golang/go@go1.24.4...go1.24.5 This minor releases include 1 security fixes following the security policy: - cmd/go: unexpected command execution in untrusted VCS repositories Various uses of the Go toolchain in untrusted VCS repositories can result in unexpected code execution. When using the Go toolchain in directories fetched using various VCS tools (such as directly cloning Git or Mercurial repositories) can cause the toolchain to execute unexpected commands, if said directory contains multiple VCS configuration metadata (such as a '.hg' directory in a Git repository). This is due to how the Go toolchain attempts to resolve which VCS is being used in order to embed build information in binaries and determine module versions. The toolchain will now abort attempting to resolve which VCS is being used if it detects multiple VCS configuration metadata in a module directory or nested VCS configuration metadata (such as a '.git' directoy in a parent directory and a '.hg' directory in a child directory). This will not prevent the toolchain from building modules, but will result in binaries omitting VCS related build information. If this behavior is expected by the user, the old behavior can be re-enabled by setting GODEBUG=allowmultiplevcs=1. This should only be done in trusted repositories. Thanks to RyotaK (https://ryotak.net) of GMO Flatt Security Inc for reporting this issue. This is CVE-2025-4674 and https://go.dev/issue/74380. View the release notes for more information: https://go.dev/doc/devel/release#go1.24.5 Signed-off-by: Paweł Gronowski <[email protected]>
1 parent 3302212 commit 9bcc886

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
name: Update Go
6464
uses: actions/setup-go@v5
6565
with:
66-
go-version: "1.24.4"
66+
go-version: "1.24.5"
6767
-
6868
name: Initialize CodeQL
6969
uses: github/codeql-action/init@v3

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
name: Set up Go
6767
uses: actions/setup-go@v5
6868
with:
69-
go-version: "1.24.4"
69+
go-version: "1.24.5"
7070
-
7171
name: Test
7272
run: |

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ run:
55
# which causes it to fallback to go1.17 semantics.
66
#
77
# TODO(thaJeztah): update "usetesting" settings to enable go1.24 features once our minimum version is go1.24
8-
go: "1.24.4"
8+
go: "1.24.5"
99

1010
timeout: 5m
1111

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG BASE_VARIANT=alpine
44
ARG ALPINE_VERSION=3.21
55
ARG BASE_DEBIAN_DISTRO=bookworm
66

7-
ARG GO_VERSION=1.24.4
7+
ARG GO_VERSION=1.24.5
88
ARG XX_VERSION=1.6.1
99
ARG GOVERSIONINFO_VERSION=v1.4.1
1010
ARG GOTESTSUM_VERSION=v1.12.0

docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variable "GO_VERSION" {
2-
default = "1.24.4"
2+
default = "1.24.5"
33
}
44
variable "VERSION" {
55
default = ""

dockerfiles/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.24.4
3+
ARG GO_VERSION=1.24.5
44
ARG ALPINE_VERSION=3.21
55

66
# BUILDX_VERSION sets the version of buildx to install in the dev container.

dockerfiles/Dockerfile.lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.24.4
3+
ARG GO_VERSION=1.24.5
44
ARG ALPINE_VERSION=3.21
55
ARG GOLANGCI_LINT_VERSION=v2.1.5
66

dockerfiles/Dockerfile.vendor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.24.4
3+
ARG GO_VERSION=1.24.5
44
ARG ALPINE_VERSION=3.21
55
ARG MODOUTDATED_VERSION=v0.8.0
66

e2e/testdata/Dockerfile.gencerts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.24.4
3+
ARG GO_VERSION=1.24.5
44

55
FROM golang:${GO_VERSION}-alpine AS generated
66
ENV GOTOOLCHAIN=local

0 commit comments

Comments
 (0)