Skip to content

Commit c36746f

Browse files
fix(cve-2025-61729): Upgrade Golang to 1.24.11 (v3.5) (#4107)
* Upgrade Golang to 1.24.11 to fix CVE
1 parent 91e9d17 commit c36746f

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Mount the gcsfuse to /mnt/gcs:
1818
# > docker run --privileged --device /fuse -v /mnt/gcs:/gcs:rw,rshared gcsfuse
1919

20-
FROM golang:1.24.10-alpine AS builder
20+
FROM golang:1.24.11-alpine AS builder
2121

2222
RUN apk add git
2323

csi_driver_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
substitutions:
16-
_GOLANG_VERSION: '1.24'
16+
_GOLANG_VERSION: '1.24.11'
1717
_GCSFUSE_VERSION: 'v4'
1818
_CSI_VERSION: 'main'
1919
_BUILD_ARM: 'false'

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/googlecloudplatform/gcsfuse/v3
22

3-
go 1.24.10
3+
go 1.24.11
44

55
require (
66
cloud.google.com/go/auth v0.16.5

perfmetrics/scripts/install_go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -euo pipefail
2222
if [[ $# -ne 1 ]]; then
2323
echo "This script requires exactly one argument."
2424
echo "Usage: $0 <go-version>"
25-
echo "Example: $0 1.24.10"
25+
echo "Example: $0 1.24.11"
2626
exit 1
2727
fi
2828

perfmetrics/scripts/ml_tests/checkpoint/Jax/run_checkpoints.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ sudo apt-get update
2323
echo "Installing git"
2424
sudo apt-get install git
2525
# Install Golang.
26-
#wget -O go_tar.tar.gz https://go.dev/dl/go1.24.10.linux-amd64.tar.gz -q
26+
#wget -O go_tar.tar.gz https://go.dev/dl/go1.24.11.linux-amd64.tar.gz -q
2727
architecture=$(dpkg --print-architecture)
28-
wget -O go_tar.tar.gz https://go.dev/dl/go1.24.10.linux-${architecture}.tar.gz -q
28+
wget -O go_tar.tar.gz https://go.dev/dl/go1.24.11.linux-${architecture}.tar.gz -q
2929
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go_tar.tar.gz
3030
export PATH=$PATH:/usr/local/go/bin
3131

perfmetrics/scripts/presubmit_test/pr_perf_test/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ readonly EXECUTE_INTEGRATION_TEST_LABEL_ON_ZB="execute-integration-tests-on-zb"
2121
readonly EXECUTE_PACKAGE_BUILD_TEST_LABEL="execute-package-build-tests"
2222
readonly EXECUTE_CHECKPOINT_TEST_LABEL="execute-checkpoint-test"
2323
readonly BUCKET_LOCATION=us-west4
24-
readonly GO_VERSION="1.24.10"
24+
readonly GO_VERSION="1.24.11"
2525
readonly REQUIRED_BASH_VERSION_FOR_E2E_SCRIPT="5.1"
2626
readonly INSTALL_BASH_VERSION="5.3" # Using 5.3 for installation as bash 5.1 has an installation bug.
2727

perfmetrics/scripts/read_cache/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ sed -i 's/define \+FIO_IO_U_PLAT_GROUP_NR \+\([0-9]\+\)/define FIO_IO_U_PLAT_GRO
6464
cd -
6565

6666
# Install and validate go.
67-
version=1.24.10
67+
version=1.24.11
6868
wget -O go_tar.tar.gz https://go.dev/dl/go${version}.linux-amd64.tar.gz -q
6969
sudo rm -rf /usr/local/go
7070
tar -xzf go_tar.tar.gz && sudo mv go /usr/local

tools/cd_scripts/e2e_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ else
253253
fi
254254
255255
# install go
256-
wget -O go_tar.tar.gz https://go.dev/dl/go1.24.10.linux-${architecture}.tar.gz
256+
wget -O go_tar.tar.gz https://go.dev/dl/go1.24.11.linux-${architecture}.tar.gz
257257
sudo tar -C /usr/local -xzf go_tar.tar.gz
258258
export PATH=${PATH}:/usr/local/go/bin
259259
#Write gcsfuse and go version to log file

tools/containerize_gcsfuse_docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG OS_VERSION
3434
ARG OS_NAME
3535

3636
# Image with gcsfuse installed and its package (.deb)
37-
FROM golang:1.24.10 as gcsfuse-package
37+
FROM golang:1.24.11 as gcsfuse-package
3838

3939
RUN apt-get update -qq && apt-get install -y ruby ruby-dev rubygems build-essential rpm fuse && gem install --no-document bundler
4040

tools/integration_tests/improved_run_e2e_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fi
5252
log_info "Bash version: ${BASH_VERSINFO[0]}.${BASH_VERSINFO[1]}"
5353

5454
# Constants
55-
readonly GO_VERSION="1.24.10"
55+
readonly GO_VERSION="1.24.11"
5656
readonly DEFAULT_PROJECT_ID="gcs-fuse-test-ml"
5757
readonly TPCZERO_PROJECT_ID="tpczero-system:gcsfuse-test-project"
5858
readonly TPC_BUCKET_LOCATION="u-us-prp1"

0 commit comments

Comments
 (0)