Update golang.org/x/crypto to v0.52.0 - #170
Open
nishant111 wants to merge 1 commit into
Open
nishant111 wants to merge 1 commit into
nishant111 wants to merge 1 commit into
Conversation
Update the minimum companion x/net and x/sys modules required by x/crypto while preserving the existing Go and x/text versions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 877ef55e-5d69-4ebd-87c3-a5b5a94f3498 Signed-off-by: Nishant Sharma <nshntsharma86@gmail.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Updates Go cryptography dependencies to patched versions addressing the listed CVEs while retaining Go 1.25.9 and x/text v0.39.0.
Changes:
- Upgrades
x/cryptoto v0.52.0. - Updates
x/net,x/sys, and transitivex/term. - Refreshes corresponding
go.sumchecksums.
| File | Description |
|---|---|
go.sum |
Refreshes dependency integrity hashes. |
go.mod |
Updates crypto and companion module versions. |
💡 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.
Update x/crypto to fix security vulnerabilities reported in these CVE's :
CVE-2026-39830
CVE-2026-39831
CVE-2026-39832
CVE-2026-39833
CVE-2026-39834
CVE-2026-42508
CVE-2026-46596
Update the minimum companion version for x/net and x/sys modules as well as they are required by x/crypto
x/crypto v0.52.0 explicitly requires:
• x/net v0.54.0
• x/sys v0.45.0
• x/term v0.43.0
Go’s minimum-version selection therefore upgrades these companion modules automatically. x/text v0.39.0 already satisfies the required minimum, so it remains unchanged. The Go directive also remains at 1.25.9 . (raw.githubusercontent.com)
go.sum must change because it records integrity hashes for the selected module versions. Its changes cover only x/crypto , x/net , x/sys , and transitive x/term ; no unrelated modules changed.
Final minimal diff
x/crypto v0.50.0 -> v0.52.0
x/net v0.53.0 -> v0.54.0
x/sys v0.43.0 -> v0.45.0
x/term v0.42.0 -> v0.43.0 (go.sum only)
x/text remains v0.39.0
Go remains 1.25.9