Skip to content

Commit ada8491

Browse files
geroplona-agent
andcommitted
Fix CVE-2025-68121: bump Go toolchain to 1.24.13 in local-app
The local-app Go binaries are embedded in the ide-proxy Docker image. They were compiled with Go 1.24.9 (from the CI environment), which contains CVE-2025-68121 (critical Go stdlib vulnerability). Bump the toolchain directive in local-app/go.mod to go1.24.13, which forces the Go tool to auto-download 1.24.13 regardless of the CI environment's installed Go version. Also add apk upgrade to the ide-proxy Dockerfile to pick up Alpine security patches at build time (matching the proxy Dockerfile pattern). The .devcontainer/Dockerfile Go version bump is included for dev environment consistency but does not affect CI builds. Co-authored-by: Ona <no-reply@ona.com>
1 parent 2afdacf commit ada8491

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ RUN curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-$(arch).zip" -o aws
193193
./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update && \
194194
rm -rf awscliv2.zip ./aws
195195

196-
ENV GO_VERSION=1.24.9
196+
ENV GO_VERSION=1.24.13
197197
ENV GOPATH=/root/go-packages
198198
ENV GOROOT=/root/go
199199
ENV PATH=$GOROOT/bin:$GOPATH/bin:$PATH

components/ide-proxy/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ RUN xcaddy build v2.11.1 --output /caddy
2222

2323
FROM caddy/caddy:2.11-alpine
2424

25+
# Ensure latest packages are present, like security updates.
26+
RUN apk upgrade --no-cache
27+
2528
COPY --from=caddy-builder /caddy /usr/bin/caddy
2629
COPY conf/Caddyfile /etc/caddy/Caddyfile
2730
COPY static /www/

components/local-app/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/gitpod-io/local-app
22

33
go 1.24
44

5-
toolchain go1.24.3
5+
toolchain go1.24.13
66

77
godebug tlsmlkem=0
88

0 commit comments

Comments
 (0)