Skip to content

fix: upgrade Go to 1.25.14 and x/sys for CVEs - #2133

Merged
shibd merged 1 commit into
masterfrom
fix/cves-go
Aug 20, 2026
Merged

fix: upgrade Go to 1.25.14 and x/sys for CVEs#2133
shibd merged 1 commit into
masterfrom
fix/cves-go

Conversation

@merlimat

Copy link
Copy Markdown
Contributor

Addresses the 9 findings Trivy reports against bin/pulsarctl in the
sn-platform:4.0.12.3 image. Follows the same pattern as #2119.

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

Eight of the nine 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 rather than any module, so
the fix is the version pins. It landed in 1.25.13; staying on the 1.25 line
avoids a language-version jump.

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

The go.mod diff is just those two lines — x/sys 0.44.0 satisfies the module
graph, so nothing else was dragged forward.

Targeting

Opened against master since release branches here are cut per platform release
(branch-4.0.12.3 is what produced the scanned binary), so this flows into the
next cut. Happy to also patch a release branch directly if a 4.0.12.x respin
needs it sooner.

Verification

go build ./... clean. go vet ./... reports one pre-existing finding in
pkg/test/pulsar/standalone_test.go ("using resp before checking for errors")
that is unrelated to these upgrades and left alone.

Related

Companion PRs covering the rest of the image:

Addresses the findings Trivy reports against bin/pulsarctl in the
sn-platform 4.0.12.3 image.

Eight of the nine 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.12 to 1.25.14 along with
the go directive. The fix landed in 1.25.13; staying on the 1.25 line 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 one pre-existing finding in
pkg/test/pulsar/standalone_test.go that is 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 19, 2026
@shibd
shibd merged commit 13832c3 into master Aug 20, 2026
11 checks passed
@shibd
shibd deleted the fix/cves-go branch August 20, 2026 06:27
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.

2 participants