Bump x/crypto and x/net to patch critical CVEs#842
Merged
Conversation
Upgrades two vulnerable indirect dependencies to their fixed versions: - golang.org/x/crypto v0.45.0 -> v0.52.0 (CVE-2026-46595, Critical) - golang.org/x/net v0.47.0 -> v0.55.0 (CVE-2026-39821, Critical) go mod tidy pulled the required transitive x/* bumps (mod, sync, sys, text) and raised the go directive to 1.25.0, the minimum declared by the upgraded modules. Still Go 1.25, so the 1.25 CI/Docker pins are unaffected.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR updates Go module dependencies to remediate critical security vulnerabilities flagged via indirect dependencies in the stellar-rpc binary.
Changes:
- Bumped
golang.org/x/cryptotov0.52.0andgolang.org/x/nettov0.55.0. - Updated transitive
golang.org/x/*modules pulled in bygo mod tidy(notablyx/mod,x/sync,x/sys,x/text, andx/termingo.sum). - Adjusted the
godirective ingo.modfrom1.25to1.25.0to match updated module requirements.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Updates go directive and bumps golang.org/x/* module versions to address critical CVEs. |
| go.sum | Refreshes checksums to match the upgraded golang.org/x/* module set from go mod tidy. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
urvisavla
approved these changes
Jul 7, 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.
Summary
golang.org/x/cryptov0.45.0 → v0.52.0, fixing CVE-2026-46595 (Critical).golang.org/x/netv0.47.0 → v0.55.0, fixing CVE-2026-39821 (Critical).stellar-rpcbinary.go mod tidypulled the transitivex/*bumps required by the upgrades (mod,sync,sys,text).godirective moves1.25→1.25.0— the minimum declared by the upgraded modules; still Go 1.25, so the1.25CI/Docker pins are unaffected.