OADP-7565: Go 1.25.8 + x/* dep bumps for CVE fixes#38
OADP-7565: Go 1.25.8 + x/* dep bumps for CVE fixes#38kaovilai wants to merge 2 commits intomigtools:oadp-devfrom
Conversation
…VE fixes Addresses 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) - GHSA-vvgc-356p-c3xw (golang.org/x/net XSS in HTML tokenizer) - GHSA-j5w8-q4qc-rx2x, GHSA-f6x5-jh6r-wrfv (golang.org/x/crypto ssh) 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>
|
@kaovilai: This pull request references OADP-7565 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughGitHub Actions workflows across lint, test, and end-to-end testing are updated to use setup-go@v6 instead of v5. The Dockerfile base image is upgraded to golang:1.25.8. Go module dependencies and toolchain versions are updated, including multiple indirect dependencies across networking, tools, and system packages. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Pull request overview
Updates the project’s Go toolchain and Go module dependencies to incorporate upstream security fixes in Go and golang.org/x/* libraries.
Changes:
- Adds
toolchain go1.25.8and adjusts the module’s Go version declaration. - Bumps several
golang.org/x/*dependencies (e.g.,x/net,x/mod,x/sys,x/text,x/tools,x/sync). - Updates the builder image in the Dockerfile to
golang:1.25.8.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| go.mod | Updates Go/toolchain settings and bumps golang.org/x/* module versions. |
| go.sum | Refreshes sums to match updated golang.org/x/* dependency versions. |
| Dockerfile | Pins builder stage to golang:1.25.8. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| module github.com/migtools/kubevirt-datamover-controller | ||
|
|
||
| go 1.25.3 | ||
| go 1.25.0 |
| golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect | ||
| golang.org/x/mod v0.29.0 // indirect | ||
| golang.org/x/net v0.47.0 // indirect | ||
| golang.org/x/mod v0.33.0 // indirect | ||
| golang.org/x/net v0.52.0 // indirect | ||
| golang.org/x/oauth2 v0.30.0 // indirect | ||
| golang.org/x/sync v0.18.0 // indirect | ||
| golang.org/x/sys v0.38.0 // indirect | ||
| golang.org/x/term v0.37.0 // indirect | ||
| golang.org/x/text v0.31.0 // indirect | ||
| golang.org/x/sys v0.42.0 // indirect | ||
| golang.org/x/term v0.41.0 // indirect | ||
| golang.org/x/text v0.35.0 // indirect |
setup-go v6 reads the toolchain directive from go.mod when present, falling back to the go directive otherwise. This replaces the hardcoded go-version and correctly picks up go1.25.8 from the toolchain directive. 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>
|
@kaovilai: This pull request references OADP-7565 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@kaovilai: This pull request references OADP-7565 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Summary
golang.org/x/netto v0.52.0 (fixes GHSA-vvgc-356p-c3xw)golang.org/x/cryptoto v0.49.0 (fixes GHSA-j5w8-q4qc-rx2x, GHSA-f6x5-jh6r-wrfv)golang:1.25.8actions/setup-gofrom v5 to v6 (v6 reads thetoolchaindirective from go.mod)Test plan
go build ./...passesNote
Responses generated with Claude
🤖 Generated with Claude Code
Summary by CodeRabbit