fix(deps): bump golang.org/x/crypto to v0.52.0#8
Merged
Conversation
Patches 7 vulnerabilities in golang.org/x/crypto/ssh and knownhosts flagged by govulncheck (GO-2026-5013, 5015, 5017, 5018, 5019, 5020, 5021). go.mod required bumping the Go directive from 1.24.0 to 1.25.0 because x/crypto v0.52.0 sets that as its minimum. go mod tidy also promoted golang-jwt/jwt/v5, gorilla/websocket and x/crypto from indirect to direct require, since they're imported directly by wardgate code. -e Signed-off-by: Emre Tinaztepe <emre@binalyze.com>
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
golang.org/x/cryptofrom v0.48.0 to v0.52.0 to patch 7 CVEs insshandknownhostsflagged bygovulncheck(GO-2026-5013, 5015, 5017, 5018, 5019, 5020, 5021).1.24.0to1.25.0(required by x/crypto v0.52.0).go mod tidybyproducts: promotedgolang.org/x/crypto,github.com/golang-jwt/jwt/v5,github.com/gorilla/websocketfrom indirect to direct (they're imported directly by wardgate code).x/sysindirect bumped to v0.45.0 to match.Why
The Fleet repo's hardened CI (
Go Vuln Scan (wardgate)job inci.yml) now runsgovulncheckagainst this submodule on every push/PR, and the v0.48.0 pin trips 7 high-severity findings. Bumping unblocks Fleet CI ondev/main.Verification
Locally, on this branch:
govulncheck ./...→ No vulnerabilities foundgo build ./...→ cleango vetwarnings about IPv6net.Dialformat strings ininternal/{imap,smtp}/client.goare unchanged — unrelated to this bump.Follow-up
After this merges to
main, the Fleet submodule pointer needs to be bumped in a follow-up PR onbinalyze/Binalyze.Fleetso itsGo Vuln Scan (wardgate)job sees the fix.