Skip to content

fix: upgrade Go to 1.25.14 and x/sys for CVEs [branch-4.2] - #2135

Merged
merlimat merged 1 commit into
branch-4.2from
fix/cves-go-4.2
Aug 21, 2026
Merged

fix: upgrade Go to 1.25.14 and x/sys for CVEs [branch-4.2]#2135
merlimat merged 1 commit into
branch-4.2from
fix/cves-go-4.2

Conversation

@merlimat

Copy link
Copy Markdown
Contributor

Backport of #2133 to branch-4.2. Companion to
streamnative/sn-pulsar-plugins#2720 and streamnative/streamnative-bom#589.

Change Clears
Go 1.25.11 → 1.25.14 (all pins + go directive) 8 stdlib CVEs
golang.org/x/sys 0.39.0 → 0.44.0 CVE-2026-39824

Same shape as the prior CVE bump on this branch (#2101). The stdlib fix landed
in 1.25.13; staying on the 1.25 line this branch already uses. Unlike
branch-4.0 there is no release.yml here, so the CI workflow pins are the
complete set.

go.mod diff is exactly two lines. Builds clean; go vet shows only the same
pre-existing standalone_test.go finding as master.

Same fix in flight: #2133 (master), branch-4.0 PR.

Backport of the fix on master to branch-4.2.

Eight of the findings are Go stdlib (CVE-2026-33818, CVE-2026-39821,
CVE-2026-46600, CVE-2026-56853, CVE-2026-56858, CVE-2026-56859,
CVE-2026-56860, CVE-2026-56862) and come from the toolchain the binary is
built with, so every go-version pin moves from 1.25.11 to 1.25.14 along
with the go directive. The fix landed in 1.25.13; staying on the 1.25 line
this branch already uses avoids a language version jump.

The ninth is CVE-2026-39824, an integer overflow in NewNTUnicodeString,
fixed by x/sys 0.39.0 -> 0.44.0.

Builds clean. go vet reports the same pre-existing finding in
pkg/test/pulsar/standalone_test.go as master, unrelated to these upgrades.
@github-actions

Copy link
Copy Markdown

@merlimat:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions Bot added the doc-info-missing This pr needs to mark a document option in description label Aug 20, 2026
@merlimat
merlimat merged commit 266866c into branch-4.2 Aug 21, 2026
11 checks passed
@merlimat
merlimat deleted the fix/cves-go-4.2 branch August 21, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-info-missing This pr needs to mark a document option in description

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant