Skip to content

Commit 1bf7cf8

Browse files
chore(ci): DSPX- 2960 - bump Go toolchain to 1.25.9 to fix govulncheck reported vulnerabilities (#3390)
## Summary Bumps the Go toolchain from `go1.25.8` to `go1.25.9` to resolve 4 standard library vulnerabilities flagged by `govulncheck`: | CVE | Package | Description | |-----|---------|-------------| | GO-2026-4947 | `crypto/x509` | Unexpected work during chain building | | GO-2026-4946 | `crypto/x509` | Inefficient policy validation | | GO-2026-4870 | `crypto/tls` | Unauthenticated TLS 1.3 KeyUpdate causes DoS | | GO-2026-4865 | `html/template` | XSS via JsBraceDepth context tracking | No code changes required — this is a patch release with no breaking changes. Vulns were initially reported in opentdf/otdfctl and PR submitted as opentdf/otdfctl#796 ## Test plan - [x] target vulnerabilities are solved, `govulncheck` step passes in CI <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated Go toolchain to version 1.25.9 across all project modules and CI/CD infrastructure. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 179da95 commit 1bf7cf8

14 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
continue-on-error: true
8585
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
8686
with:
87-
go-version-input: "1.25.7"
87+
go-version-input: "1.25.9"
8888
work-dir: ${{ matrix.directory }}
8989
- if: steps.govulncheck.outcome == 'failure'
9090
run: echo "$MODULE_DIR" > "/tmp/govulncheck-failure-${JOB_INDEX}.txt"

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: "Setup Go"
2727
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2828
with:
29-
go-version: "1.25.7"
29+
go-version: "1.25.9"
3030
check-latest: false
3131
cache-dependency-path: |
3232
service/go.sum

examples/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/opentdf/platform/examples
22

33
go 1.25.0
44

5-
toolchain go1.25.8
5+
toolchain go1.25.9
66

77
require (
88
connectrpc.com/connect v1.19.1

go.work

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
go 1.25.5
22

3-
toolchain go1.25.8
3+
toolchain go1.25.9
44

55
use (
66
./examples

lib/fixtures/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/opentdf/platform/lib/fixtures
22

33
go 1.25.0
44

5-
toolchain go1.25.8
5+
toolchain go1.25.9
66

77
require github.com/Nerzal/gocloak/v13 v13.9.0
88

lib/flattening/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/opentdf/platform/lib/flattening
22

33
go 1.25.0
44

5-
toolchain go1.25.8
5+
toolchain go1.25.9
66

77
require github.com/stretchr/testify v1.11.1
88

lib/identifier/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/opentdf/platform/lib/identifier
22

33
go 1.25.0
44

5-
toolchain go1.25.8
5+
toolchain go1.25.9
66

77
require github.com/stretchr/testify v1.11.1
88

lib/ocrypto/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/opentdf/platform/lib/ocrypto
22

33
go 1.25.0
44

5-
toolchain go1.25.8
5+
toolchain go1.25.9
66

77
require (
88
github.com/stretchr/testify v1.11.1

otdfctl/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/opentdf/platform/otdfctl
22

33
go 1.25.0
44

5-
toolchain go1.25.8
5+
toolchain go1.25.9
66

77
require (
88
github.com/adrg/frontmatter v0.2.0

protocol/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/opentdf/platform/protocol/go
22

33
go 1.25.0
44

5-
toolchain go1.25.8
5+
toolchain go1.25.9
66

77
require (
88
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.1-20240508200655-46a4cf4ba109.1

0 commit comments

Comments
 (0)