Skip to content

fix: Bump golang.org/x/net and x/text to resolve CVEs - #139

Open
om7057 wants to merge 1 commit into
jaegertracing:mainfrom
om7057:fix/resolve-high-cves-net-text
Open

om7057 wants to merge 1 commit into
jaegertracing:mainfrom
om7057:fix/resolve-high-cves-net-text

Conversation

@om7057

@om7057 om7057 commented Sep 17, 2026

Copy link
Copy Markdown

Closes #123

What

Bumps golang.org/x/net and golang.org/x/text past the versions this issue flagged as vulnerable:

  • golang.org/x/net was pinned to v0.0.0-20221002022538-bcab6841153b, below the fix for CVE-2022-41721. Bumped to v0.1.1-0.20221104162952-702349b0e862, the exact version the issue requested.
  • golang.org/x/text was pinned to v0.3.7, below the fix for CVE-2022-32149. That version of x/net requires x/text >= v0.4.0 as a transitive dependency, so x/text landed on v0.4.0, above the v0.3.8 floor the CVE fix needs.
  • golang.org/x/sys moved from v0.0.0-20220928140112-f11e5e49a4ec to v0.1.0 as a side effect of go mod tidy reconciling the graph after the two bumps above. No direct code in this repo uses it.

Both are indirect dependencies, so no source changes, only go.mod/go.sum.

Testing

  • go build ./...: clean
  • go vet ./...: clean
  • go test ./...: all packages pass

golang.org/x/net was pinned below the fix for CVE-2022-41721, and
golang.org/x/text below the fix for CVE-2022-32149.

Bumping x/net to v0.1.1-0.20221104162952-702349b0e862 pulls in
x/text v0.4.0 as a transitive requirement, above the v0.3.8 floor
both CVEs need. go build, go vet, and go test ./... all pass
unchanged.

Signed-off-by: Om Kulkarni <kulkarniom7057@gmail.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 14:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

[Bug]: Resolve High CVEs

2 participants