chore(security): upgrade golang.org/x/crypto to v0.53.0#130
Merged
Conversation
Addresses 6x High Snyk vulnerabilities in golang.org/x/crypto/ssh (SNYK-GOLANG-GOLANGORGXCRYPTOSSH-16795342 et al). Also bumps golang.org/x/mod, sys, term, and text transitively. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
162f69e to
a529638
Compare
alexstojda
approved these changes
Jun 8, 2026
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.
What
Upgrade
golang.org/x/cryptofromv0.51.0tov0.53.0ingo.mod. Also bumps transitive depsgolang.org/x/mod,sys,term, andtext.Why
Snyk flagged 6 High vulnerabilities in
golang.org/x/crypto/sshandgolang.org/x/crypto/ssh/knownhosts. The fix requires>= v0.52.0.Test Plan
go build ./...passesReferences
Note
Low Risk
Lockfile-only change with no logic edits; risk is limited to regression from newer indirect crypto/SSH behavior, mitigated by build/CI checks.
Overview
Bumps
golang.org/x/cryptofrom v0.51.0 to v0.53.0 ingo.mod/go.sumto address Snyk-reported high-severity issues inssh,ssh/agent, andssh/knownhosts(fixed in ≥ v0.52.0). No application source changes—only the module lockfile.The upgrade also refreshes transitive
golang.org/xpins (mod,sys,term,text, and relatedsync/toolsentries ingo.sum) that move with the new crypto release.Reviewed by Cursor Bugbot for commit a529638. Bugbot is set up for automated code reviews on this repo. Configure here.