Repository navigation
chore(deps): upgrade golang.org/x/crypto to v0.55.0 - #90
Merged
Merged
Conversation
- Bump golang.org/x/crypto from v0.54.0 to v0.55.0 to fix CVE-2026-56854 (golang.org/x/crypto/ssh) - Refresh transitive golang.org/x/{net,sys,text} versions via go mod tidy
There was a problem hiding this comment.
🟢 Approval recommended
The changes are scoped to mechanical dependency/version updates across all modules and appear complete and consistent with the stated goal of resolving the Trivy finding.
Pull request overview
This PR updates golang.org/x/crypto to v0.55.0 (and the golang.org/x/text transitive requirement to v0.41.0) across the root module and all example modules to address a Trivy scan failure caused by a vulnerability in golang.org/x/crypto/ssh.
Changes:
- Bumped
golang.org/x/cryptofrom v0.54.0 → v0.55.0 in allgo.modfiles in the repo. - Updated corresponding
go.sumentries (and refreshedgolang.org/x/textfrom v0.40.0 → v0.41.0 as part of module tidying).
File summaries
| File | Description |
|---|---|
| go.mod | Updates golang.org/x/crypto and golang.org/x/text indirect requirements in the root module. |
| go.sum | Updates module checksums corresponding to the bumped dependencies in the root module. |
| _example/example01/go.mod | Mirrors the dependency bump in example module 01. |
| _example/example01/go.sum | Updates checksums for the bumped dependencies in example module 01. |
| _example/example02/go.mod | Mirrors the dependency bump in example module 02. |
| _example/example02/go.sum | Updates checksums for the bumped dependencies in example module 02. |
| _example/example03/go.mod | Mirrors the dependency bump in example module 03. |
| _example/example03/go.sum | Updates checksums for the bumped dependencies in example module 03. |
| _example/example04/go.mod | Mirrors the dependency bump in example module 04. |
| _example/example04/go.sum | Updates checksums for the bumped dependencies in example module 04. |
Review details
- Files reviewed: 5/10 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The daily Trivy Security Scan workflow on the default branch has been failing because
golang.org/x/cryptov0.54.0 is affected by CVE-2026-56854 (CRITICAL,golang.org/x/crypto/ssh).golang.org/x/cryptoto v0.55.0 in everygo.modof this repository (including example modules).go mod tidyrefreshed the transitivegolang.org/x/*versions that v0.55.0 requires. Onlygo.mod/go.sumfiles changed.Related issues
AI authorship
go.mod/go.sumfiles in this PR (generated withgo get+go mod tidy)Change classification
Dependency-only bump; no source code changed.
Plan reference
Goal: make the Trivy Security Scan workflow pass on the default branch by upgrading the vulnerable dependencies to their fixed versions. Scope:
go.mod/go.sumonly.Verification
trivy fs --scanners vuln,secret,misconfig --severity CRITICAL,HIGH,MEDIUM --ignore-unfixed --exit-code 1 .(same flags as CI, vulnerability DB dated 2026-09-05): pass, 0 findingsgo build ./...in every module: passgo test ./...in the root module: pass for unit testsSecurity check
Risk and rollback
Reviewer guide
go.mod.go.sumhash updates are mechanical output ofgo mod tidy.