Skip to content

Bump golang.org/x/crypto, golang.org/x/net, and golang.org/x/text to address security vulnerabilities - #203

Open
johncollinson2001 wants to merge 2 commits into
mainfrom
johnc/update-go-packages-crypto-and-net
Open

Bump golang.org/x/crypto, golang.org/x/net, and golang.org/x/text to address security vulnerabilities#203
johncollinson2001 wants to merge 2 commits into
mainfrom
johnc/update-go-packages-crypto-and-net

Conversation

@johncollinson2001

@johncollinson2001 johncollinson2001 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Description

Update golang.org/x dependencies to resolve security vulnerabilities identified by a Grype scan:

Package Previous Updated Vulnerability Severity
golang.org/x/text v0.37.0 v0.40.0 GO-2026-5970 High
golang.org/x/net v0.54.0 v0.56.0 GO-2026-5942 High
golang.org/x/crypto v0.51.0 v0.54.0 GO-2026-5932 Unknown

The following transitive dependencies were also updated as a result of go mod tidy:

  • golang.org/x/sys: v0.44.0 → v0.47.0
  • golang.org/x/term: v0.43.0 → v0.45.0
  • golang.org/x/tools: v0.44.0 → v0.47.0
  • golang.org/x/sync: v0.20.0 → v0.22.0
  • golang.org/x/mod: v0.35.0 → v0.37.0

Type of change

🔲 New feature (a change which adds functionality)
🔲 Bug fix (a change which fixes an issue)
🔲 Refactoring (code cleanup or optimisation)
🔲 Testing (new tests, or improvements to existing tests)
🔲 Pipelines (changes to pipelines and workflows)
🔲 Documentation (changes to documentation)
✅ Other (something that's not listed here - please explain)

Security vulnerability remediation — bump Go packages to address Grype scan findings.

Checklist

🔲 My code aligns with the style of this project
🔲 I have added comments in hard to understand areas
🔲 I have added tests that prove my change works
🔲 I have updated the documentation
✅ If merging into main, I'm aware that the PR should be squash merged with a commit message that adheres to the semantic release format

Additional Information

Please provide any additional information or context related to this pull request.

Copilot AI review requested due to automatic review settings July 24, 2026 14:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Go dependencies in the tests/end-to-end-tests module to newer versions, aligning end-to-end test tooling with the latest available security/performance fixes from the golang.org/x libraries.

Changes:

  • Bump golang.org/x/crypto from v0.51.0 to v0.52.0.
  • Bump golang.org/x/net from v0.54.0 to v0.55.0.
  • Bump golang.org/x/sys from v0.44.0 to v0.45.0.
  • Regenerate corresponding go.sum entries for the updated versions.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
tests/end-to-end-tests/go.mod Updates indirect dependency versions for golang.org/x/crypto, golang.org/x/net, and golang.org/x/sys in the e2e test module.
tests/end-to-end-tests/go.sum Updates checksums to match the bumped golang.org/x/* module versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…org/x/sys, golang.org/x/sync, golang.org/x/term, and golang.org/x/text to latest versions in /tests/end-to-end-tests
Copilot AI review requested due to automatic review settings July 24, 2026 15:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Comment thread tests/end-to-end-tests/go.mod
@johncollinson2001
johncollinson2001 enabled auto-merge (squash) July 24, 2026 15:09
@johncollinson2001 johncollinson2001 changed the title Bump golang.org/x/crypto, golang.org/x/net, and golang.org/x/sys to latest versions Bump golang.org/x/crypto, golang.org/x/net, and golang.org/x/text to address security vulnerabilities Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants