Skip to content

STAC-0: bump dependencies to eliminate CVEs - #156

Open
thbertoldi wants to merge 1 commit into
StackVista:mainfrom
thbertoldi:worktree-bump-deps-fix-cves
Open

STAC-0: bump dependencies to eliminate CVEs#156
thbertoldi wants to merge 1 commit into
StackVista:mainfrom
thbertoldi:worktree-bump-deps-fix-cves

Conversation

@thbertoldi

Copy link
Copy Markdown

What

Bump vulnerable transitive dependencies to their fixed versions to eliminate all reported CVEs:

Package From To CVEs
golang.org/x/net v0.45.0 v0.56.0 CVE-2026-25681, -27136, -33814, -39821, -25680, -42502, -42506, -46600
github.com/moby/spdystream v0.2.0 v0.5.1 CVE-2026-35469
golang.org/x/sys v0.36.0 v0.46.0 CVE-2026-39824
golang.org/x/text v0.29.0 v0.39.0 CVE-2026-56852

Notes

  • x/net v0.56.0 requires Go 1.25, so the go directive in go.mod is bumped to 1.25.0 and the CI go-version is bumped 1.24.x -> 1.25.x accordingly.
  • x/text moves into the direct-require block (it is imported by cmd/otelmapping); it was previously mislabeled as indirect.
  • x/net also pulled x/sync and x/term to newer compatible versions.
  • Rebased onto current main; merges cleanly.

Verification

  • go build ./... — clean
  • govulncheck ./...No vulnerabilities found

Bump vulnerable transitive dependencies to their fixed versions:
- golang.org/x/net v0.45.0 => v0.56.0 (CVE-2026-25681, -27136, -33814,
  -39821, -25680, -42502, -42506, -46600)
- github.com/moby/spdystream v0.2.0 => v0.5.1 (CVE-2026-35469)
- golang.org/x/sys v0.36.0 => v0.46.0 (CVE-2026-39824)
- golang.org/x/text v0.29.0 => v0.39.0 (CVE-2026-56852)

x/net v0.56.0 requires Go 1.25, so bump the go directive and the CI
go-version accordingly. govulncheck reports no vulnerabilities.

@craffit craffit 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.

the commit is not verified and the golanglint-ci is breaking on the golang version

@craffit

craffit commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Superseded by #157, which reproduces these dependency bumps on a signed commit and additionally fixes the CI linter failure: golangci-lint needs to be bumped v2.3.1 → v2.9.0 (first release built with Go 1.25) so it can load a config targeting go 1.25.0. Thanks @thbertoldi for the original fix — credited there.

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