Skip to content

fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE - #4429

Open
stevenvegt wants to merge 1 commit into
V5.4from
fix/go-cves-v5.4
Open

fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE#4429
stevenvegt wants to merge 1 commit into
V5.4from
fix/go-cves-v5.4

Conversation

@stevenvegt

Copy link
Copy Markdown
Member

Summary

  • Upgrade golang.org/x/text to v0.39.0
  • Add release notes under an Unreleased / Security section (no version bump; the next patch release will bundle other pending fixes)

Fixes the following vulnerability:

Advisory Package Description
GO-2026-5970 golang.org/x/text norm.Iter could enter an infinite loop on input containing invalid UTF-8 bytes

GO-2026-5158 (go.opentelemetry.io/otel) does not apply to V5.4: this branch has no OpenTelemetry dependency.

Verified with go build ./... && govulncheck ./...: 0 vulnerabilities affecting code, the advisory is no longer reported.

Assisted-by: AI

Fixes GO-2026-5970: norm.Iter could enter an infinite loop on input
containing invalid UTF-8 bytes. Release notes go into an Unreleased
section; the next patch release will bundle other pending fixes.

Assisted-by: AI
@stevenvegt stevenvegt changed the title fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE in 5.4 Jul 27, 2026
@stevenvegt stevenvegt changed the title fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE in 5.4 fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE in V5.4 Jul 27, 2026
@qltysh

qltysh Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Qlty


Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@stevenvegt stevenvegt changed the title fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE in V5.4 fix(deps): upgrade golang.org/x/text to v0.39.0 to fix CVE Jul 31, 2026

@reinkrul reinkrul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we need to add security updates to the unreleased section, as they're unreleased (and will probably be replaced by a newer version of the dependency anyway, before we actually release). It'll only clutter the release notes

Comment on lines +6 to +12
****************
Unreleased
****************

## Security
* Upgrade golang.org/x/text to v0.39.0 to address `GO-2026-5970 <https://pkg.go.dev/vuln/GO-2026-5970>`_ (norm.Iter could enter an infinite loop on input containing invalid UTF-8 bytes).

@reinkrul reinkrul Aug 17, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this doesn't belong in v5.4 branch, as there should be no unreleased work on release branches (just release it?). Because, when willw e then release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants