Skip to content

Commit 22e2db1

Browse files
fix(security): upgrade Go to 1.25.5 to address CVE in crypto/x509 (#695)
Upgrade Go version from 1.25.1 to 1.25.5 to fix vulnerability: - crypto/x509: Denial of Service due to excessive resource consumption via crafted certificate (HostnameError.Error() quadratic runtime) Changes: - Updated go.mod from go 1.25.1 to go 1.25.5 - Updated dockerfiles/Dockerfile.cloud from golang:1.22-alpine3.19 to golang:1.25-alpine3.21 The Dockerfile was already using golang:1.25-alpine3.21 which will pull the latest patch version (1.25.5) containing the fix. Co-authored-by: Michael Guarino <mjg@plural.sh>
1 parent 0419fa5 commit 22e2db1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dockerfiles/Dockerfile.cloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine3.19 AS builder
1+
FROM golang:1.25-alpine3.21 AS builder
22

33
WORKDIR /workspace
44

go.mod

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

3-
go 1.25.1
3+
go 1.25.5
44

55
require (
66
cloud.google.com/go/compute v1.49.1

0 commit comments

Comments
 (0)