Repository navigation
fix(deps): upgrade Go to 1.27.4, go-jose/v4 to v4.1.6, x/net and x/crypto for CVE remediation - #5252
Conversation
…ypto for CVE remediation
There was a problem hiding this comment.
Code Review
This pull request upgrades the Go version from 1.27.2 to 1.27.4 across the repository, including Dockerfiles, Go module files, and various testing and installation shell scripts. It also updates several Go dependencies. Feedback is provided on run-gke-tests.sh to refactor a complex shell command chain into an explicit if block to improve readability and avoid unexpected behavior with environment variables.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v3.5.12_release #5252 +/- ##
==================================================
Coverage ? 85.97%
==================================================
Files ? 148
Lines ? 15838
Branches ? 0
==================================================
Hits ? 13617
Misses ? 2220
Partials ? 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
b520e46 to
6d492e1
Compare
kislaykishore
left a comment
There was a problem hiding this comment.
LGTM! Minor nit: consider updating the PR title to also reflect the OpenTelemetry v1.47.0 upgrade and the #3994 cherry-pick before squash-merging.
Description
CVE fixes for the
v3.5.12patch release:github.com/go-jose/go-jose/v4v4.1.4 -> v4.1.6 (CVE-2026-116587, CVE-2026-116586, CVE-2026-116585).net/http, GO-2026-6809crypto/x509).golang.org/x/netv0.60.0 -> v0.62.0 (GO-2026-6866, GO-2026-6860).golang.org/x/cryptov0.57.0 -> v0.59.0 (GO-2026-5932). This also pullsx/sysv0.50.0,x/textv0.44.0 andx/syncv0.25.0 (minimum versions required by the newx/crypto).go.opentelemetry.io/otel(otel,otel/sdk,otel/trace,otel/metric,otel/sdk/metric,otel/exporters/stdout/stdouttrace) v1.45.0 -> v1.47.0 (GHSA-q7gw-24fr-5p69).refactor(cmd): replace global initializers with lazy PersistentPreRunE) so./cmdunit tests do not accumulate global CobraOnInitializecallbacks and time out in CI.On this branch the Go version is pinned in
.go-version,go.mod, the Dockerfiles, and scripts undertools/andperfmetrics/; all are updated.Link to the issue in case of a bug fix.
b/585033791
Testing details
go build ./...(amd64 and arm64),go vet ./...andgo mod tidy(no diff).govulncheck -mode=binaryon ago1.27.4build: no vulnerabilities found.osv-scanner: no issues.go test -p 1 ./cmd/... ./internal/...passed, except theinternal/fstestsStressTest.CreateInParallel_NoTruncateandStressTest.CreateInParallel_Truncate, which fail the same way onv3.5.11.Perf Test Results
Any backward incompatible change? If so, please explain.
N/A