fix(deps): OADP-7565,OADP-7569,OADP-7572: bump Go toolchain to 1.25.8 and update x/* dependencies#12
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Go toolchain and key golang.org/x/* dependencies to incorporate security fixes (CVE remediation) and refresh transitive x/* module versions.
Changes:
- Bumped the module Go version and pinned a specific Go toolchain version via
toolchain. - Updated
golang.org/x/crypto,golang.org/x/net, and relatedgolang.org/x/*dependencies to newer secure versions. - Refreshed
go.sumto match the updated module graph.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| go.mod | Updates the Go version/toolchain and bumps several golang.org/x/* direct dependencies. |
| go.sum | Updates sums to reflect the new golang.org/x/* versions. |
| module github.com/kopia/kopia | ||
|
|
||
| go 1.21 | ||
| go 1.25.0 |
|
/hold for grpc |
cb6be3e to
8c9b46c
Compare
… and update dependencies Update Go toolchain to 1.25.8 to address multiple CVEs: - GO-2026-4337, GO-2026-4340 (crypto/tls) - GO-2026-4341 (net/url) - GO-2026-4342 (archive/zip) - CVE-2026-25679 (net/url IPv6 host parsing) - CVE-2026-27137 (crypto/x509 email constraints) Update golang.org/x/* dependencies: - x/crypto v0.49.0 (fixes GHSA-j5w8-q4qc-rx2x, GHSA-f6x5-jh6r-wrfv) - x/net v0.52.0 (fixes GHSA-vvgc-356p-c3xw) - x/sys v0.42.0, x/text v0.35.0, x/term v0.41.0, x/sync v0.20.0 Update go.opentelemetry.io/otel/sdk v1.39.0 → v1.42.0 (fixes GHSA-9h8m-3fm2-qjrq: arbitrary code execution via PATH hijacking) Update google.golang.org/grpc v1.57.0 → v1.79.2 (minimum v1.57.1 required) Update google.golang.org/api and transitive google cloud dependencies Fix Go 1.25 vet errors for non-constant format strings in: - cli/json_output.go: use fmt.Fprint instead of fmt.Fprintf - tests/recovery/recovery_test: use explicit "%s" format for t.Logf Upgrade actions/upload-artifact and download-artifact from v3 to v4 (v3 deprecated) Run npm audit fix in app/ to resolve npm audit failures in CI Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
8c9b46c to
4f06d71
Compare
|
/unhold |
Summary
go 1.21togo 1.25.0/toolchain go1.25.8to address multiple CVEsgolang.org/x/cryptoto v0.49.0 andgolang.org/x/netto v0.52.0 for security fixesgo.opentelemetry.io/otel/sdkfrom v1.39.0 to v1.42.0 (fixes GHSA-9h8m-3fm2-qjrq: arbitrary code execution via PATH hijacking)google.golang.org/grpcfrom v1.57.0 to v1.79.2 (minimum v1.57.1 required) andgoogle.golang.org/api+ transitive google cloud dependenciescli/json_output.go,tests/recovery/recovery_test)internal/epoch/epoch_manager_test.go(useatomic.BoolforloadedDone)actions/upload-artifactandactions/download-artifactfrom v3 to v4 (v3 deprecated)actions/setup-gofrom v4.1.0 to v6.1.0 (v5 and earlier don't readtoolchaindirective from go.mod, causingcompile: version mismatchin coverage tests)npm audit fixinapp/to resolve npm audit failures in CICVEs Addressed
Go Toolchain (1.25.8)
golang.org/x/* Dependencies
Other Vulnerable Dependencies
CI/Test Fixes
atomic.Bool(Go 1.25 race detector)Jira
Test plan
go build ./...passesgo vet ./...passes-race -count=3Note
Responses generated with Claude