Skip to content

Commit 3dc98d6

Browse files
authored
toil(bootstrapper): fix CVE-2025-22868, bump go to 1.23 (#444)
## πŸ“ Description - Fixes CVE-2025-22868 - Bumps golang to 1.23 ## βœ… Checklist - [x] I have tested this change - [ ] This change requires documentation update
1 parent 7cae57c commit 3dc98d6

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

β€Žbootstrapper/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.22
1+
ARG GO_VERSION=1.23
22
ARG UBUNTU_VERSION=3.17.7
33
ARG ALPINE_VERSION=3.20.3
44
ARG BUILDER_IMAGE="golang:${GO_VERSION}"
@@ -12,7 +12,7 @@ ENV APP_NAME=${APP_NAME}
1212
RUN echo "Build of $APP_NAME started"
1313

1414
RUN apt-get update -y && apt-get install --no-install-recommends -y ca-certificates unzip curl libc-bin libc6 \
15-
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
15+
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
1616

1717
WORKDIR /app
1818
COPY pkg pkg
@@ -63,4 +63,4 @@ COPY --from=builder --chown=nobody:root /app/build/${APP_NAME} /app/build/${APP_
6363

6464
USER nobody
6565

66-
CMD [ "/bin/sh", "-c", "/app/build/${APP_NAME}" ]
66+
CMD [ "/bin/sh", "-c", "/app/build/${APP_NAME}" ]

β€Žbootstrapper/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/semaphoreio/semaphore/bootstrapper
22

3-
go 1.22.7
3+
go 1.23.0
44

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

77
require (
88
github.com/golang/protobuf v1.5.4
@@ -43,7 +43,7 @@ require (
4343
github.com/stretchr/objx v0.5.2 // indirect
4444
github.com/x448/float16 v0.8.4 // indirect
4545
golang.org/x/net v0.33.0 // indirect
46-
golang.org/x/oauth2 v0.23.0 // indirect
46+
golang.org/x/oauth2 v0.27.0 // indirect
4747
golang.org/x/sys v0.28.0 // indirect
4848
golang.org/x/term v0.27.0 // indirect
4949
golang.org/x/text v0.21.0 // indirect

β€Žbootstrapper/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL
116116
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
117117
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
118118
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
119-
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
120-
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
119+
golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
120+
golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
121121
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
122122
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
123123
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

0 commit comments

Comments
Β (0)