Skip to content

Security: Upgrade Go dependencies to fix 11 HIGH CVEs - #57

Merged
akshaykalia merged 2 commits into
mainfrom
security/go-dep-upgrades
Aug 6, 2026
Merged

Security: Upgrade Go dependencies to fix 11 HIGH CVEs#57
akshaykalia merged 2 commits into
mainfrom
security/go-dep-upgrades

Conversation

@akshaykalia

@akshaykalia akshaykalia commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade Go dependencies to remediate 11 HIGH vulnerabilities identified by Trivy SBOM scan
  • Part of org-wide SBOM vulnerability remediation effort

Dependency upgrades

Package From To CVEs Fixed
github.com/docker/cli v28.4.0 v29.2.0 1 (privilege escalation via malicious plugin binaries)
github.com/moby/spdystream v0.2.0 v0.5.1 1 (SPDY streaming DoS)
github.com/sirupsen/logrus v1.9.0 v1.9.3 1 (DoS via large single-line payload)
golang.org/x/net v0.19.0 v0.55.0 6 (XSS via HTML parsing, HTTP/2 CONTINUATION frames DoS, non-linear HTML parsing, HTTP/2 SETTINGS_MAX_FRAME_SIZE DoS, IDN Punycode bypass)
golang.org/x/oauth2 v0.15.0 v0.27.0 1 (memory consumption during JWS token parsing)
golang.org/x/text v0.28.0 v0.39.0 1 (infinite loop in norm.Iter)

Other changes

  • go directive bumped from 1.24 → 1.25.0 (required by golang.org/x/net v0.55.0)
  • CI workflow updated from hardcoded go-version: '^1.24.x' to go-version-file: 'go.mod' (keeps CI in sync with project's Go version)

Test plan

  • go build ./... passes locally
  • go test ./... — all tests pass (14 test packages)
  • CI lint + test jobs pass
  • Verify CLI commands work: shipyard get envs, shipyard login, shipyard exec

Direct and transitive dependency upgrades:
- github.com/docker/cli v28.4.0 -> v29.2.0 (privilege escalation via
  malicious plugin binaries)
- github.com/moby/spdystream v0.2.0 -> v0.5.1 (SPDY streaming DoS)
- github.com/sirupsen/logrus v1.9.0 -> v1.9.3 (DoS via large payload)
- golang.org/x/net v0.19.0 -> v0.55.0 (6 CVEs: XSS, HTTP/2 DoS,
  CONTINUATION frames DoS, non-linear HTML parsing, IDN Punycode bypass)
- golang.org/x/oauth2 v0.15.0 -> v0.27.0 (memory consumption in JWS)
- golang.org/x/text v0.28.0 -> v0.39.0 (infinite loop in norm.Iter)

go directive bumped from 1.24 to 1.25.0 (required by x/net v0.55.0).
CI workflow updated to use go-version-file instead of hardcoded version.
golangci-lint v2.1.6 was built with Go 1.24 and refuses to lint code
targeting Go 1.25.0. Use version: latest to always get a compatible
build.
@akshaykalia
akshaykalia merged commit 28f680d into main Aug 6, 2026
2 of 4 checks passed
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.

1 participant