fix(deps): bump golang.org/x/crypto to v0.56.0 - #265
Conversation
golang.org/x/crypto v0.55.0 carries two ssh DoS advisories, GO-2026-6355 and GO-2026-6354, both fixed in v0.56.0. That release requires go 1.26.0, so the module's go directive moves up to match.
|
Warning Review limit reachedNext included review available in 41 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
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.
🟡 Changes recommended
The repo’s Go workflow still includes Go 1.25.x in its test matrix, which will fail once go.mod requires Go 1.26.0.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR updates the module to address reported golang.org/x/crypto/ssh vulnerabilities by bumping golang.org/x/crypto to v0.56.0, and raises the module Go version to satisfy the new dependency’s minimum Go requirement.
Changes:
- Bump
golang.org/x/cryptofrom v0.55.0 to v0.56.0. - Update the module
godirective from1.25.0to1.26.0. - Refresh
go.sumentries for the updated dependency.
File summaries
| File | Description |
|---|---|
| go.mod | Raises module Go version to 1.26.0 and bumps golang.org/x/crypto to v0.56.0. |
| go.sum | Updates checksum entries to match golang.org/x/crypto v0.56.0. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Problem
golang.org/x/cryptov0.55.0 carries two ssh advisories, GO-2026-6355 andGO-2026-6354 (deadlocked established/undecided channel DoS). Both are fixed
in v0.56.0.
govulncheckfails CI on any branch that reaches this code path,including unrelated PRs such as #258.
Fix
golang.org/x/cryptov0.55.0 → v0.56.0 ingo.mod/go.sum.go 1.26.0, so the module'sgodirective moves up tomatch.
Test plan
make test(lint +go test -race -tags kqueue ./...) → 0 lintissues, all packages pass.
govulncheck ./...→ GO-2026-6355 and GO-2026-6354 no longer reported.go build ./...→ success.https://claude.ai/code/session_01XG59JYqzTNccq2ve4pRTfk