Skip to content

chore(deps): bump security-flagged dependencies (clears 21 Dependabot alerts) - #176

Open
blsmth wants to merge 1 commit into
mainfrom
deps/security-bumps
Open

chore(deps): bump security-flagged dependencies (clears 21 Dependabot alerts)#176
blsmth wants to merge 1 commit into
mainfrom
deps/security-bumps

Conversation

@blsmth

@blsmth blsmth commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Clears all 21 open Dependabot alerts (7 critical, 4 high, 9 moderate, 1 low) on main.

Version bumps

Dependency Old New
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.58.7 v1.82.3
github.com/aws/aws-sdk-go-v2/service/s3 v1.90.0 v1.107.3
github.com/cli/cli/v2 v2.83.0 v2.98.0
github.com/go-jose/go-jose/v4 v4.1.1 v4.1.4
golang.org/x/crypto (indirect) v0.43.0 v0.55.0
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream (indirect) v1.7.3 v1.7.18

go mod tidy also pulled forward related aws-sdk-go-v2 core/internal modules and a handful of cli/cli/v2 transitive deps; no majors were bumped.

Notable side effect: Go 1.26 floor

cli/cli/v2 >= v2.93.0 declares go 1.26.0 as its module minimum, so go get raised this repo's go.mod directive from 1.25.4 to 1.26.0. Updated the pinned go-version in all .github/workflows/*.yml (databases, functional_tests, go_tests, goreleaser, nightly) from "1.25" to "1.26" to match. No other call sites needed changes — build and vet are clean against the new cli/cli/v2.

x/crypto reachability note

go mod why golang.org/x/crypto reports "main module does not need package golang.org/x/crypto" both before and after this bump — it's a transitive dep of nothing the CLI actually imports. The SSH-related CVEs behind the 7 critical/2 high/4 medium alerts are almost certainly not reachable from this binary. Bumped anyway to clear the alerts; actual risk was low.

Supersedes #110

This replaces the stale Dependabot PR #110, which only bumps x/crypto to v0.45.0 — already below the v0.52.0 floor needed to clear the alerts. #110 should be closed once this merges (not closing it myself).

Test plan

  • make fmt — no diff
  • go build ./... — clean
  • go vet ./... — clean
  • make test — all packages pass
  • make lint — same 57 pre-existing issues (50 errcheck, 7 staticcheck) present on main before this change; left untouched as out of scope
  • No functional code changes; dependency/CI-pin bumps only

Clears all 21 open Dependabot alerts by raising the minimum versions
of aws-sdk-go-v2 (cloudwatchlogs, s3, eventstream), cli/cli/v2,
go-jose/v4, and golang.org/x/crypto.

cli/cli/v2 >= 2.93.0 requires Go 1.26 as its module floor, so go.mod
and the pinned CI go-version are bumped to 1.26 to match; no other
call sites needed changes.
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