Skip to content

chore(deps): patch Dependabot security alerts across all modules#395

Open
prkhrkat wants to merge 2 commits into
mainfrom
dependabot-safe-patches
Open

chore(deps): patch Dependabot security alerts across all modules#395
prkhrkat wants to merge 2 commits into
mainfrom
dependabot-safe-patches

Conversation

@prkhrkat

Copy link
Copy Markdown
Contributor

Summary

Patches Dependabot security alerts across all 10 modules of the monorepo by bumping vulnerable dependencies to their fixed versions and re-vendoring each module. Safe/stable bumps only — the helm→k8s-0.35 major upgrade is deferred to a separate branch.

Verification: go build ./... (vendor mode) passes for 9 of 10 modules. The only failure is common-lib/securestore/rollback on sql.BuildTLSConfig — a pre-existing error (its replace-pinned common-lib predates that function from the postgres-SSL work), unrelated to these bumps and not part of make build. Its diff here is crypto-only.

Per-module changes

Module Bumps
all 10 golang.org/x/crypto0.52.0 (fixes the critical/high cluster), x/net0.55.0
chart-sync + oras-go/v2 2.6.1, containerd 1.7.33 (replace target bumped), helm/v3 3.20.1 → 3.20.2 (already on k8s 0.35 — clean patch)
ci-runner + otlptracehttp 1.43.0, aws-sdk s3 1.97.3, eventstream 1.7.8
common-lib + oras-go/v2 2.6.1, aws-sdk s3 1.97.3, eventstream 1.7.8
git-sensor + go-git/v5 5.19.1, go-billy/v5 5.9.0 (no API breakage)
kubelink + oras-go/v2 2.6.1, containerd 1.7.33
kubewatch + oras-go/v2 2.6.1, go-git/v5 5.19.1, go-billy/v5 5.9.0, pgx/v5 5.9.2, otlpmetrichttp 1.43.0, argo-workflows/v3 3.7.11 → 3.7.14
rollback x/crypto → 0.52.0

k8s stayed on 0.33.x for every module except chart-sync (already 0.35). No argo-cd or k8s major moves here.

Deferred / no-fix

  • helm/v3 3.20.2 for common-lib and kubelink — forces k8s 0.33 → 0.35 (major, protobuf-affecting). Separate branch + PR for regression testing.
  • No upstream patch: argoproj/argo-cd/v2 (kubewatch), quay/claircore (image-scanner), docker/docker (common-lib, ci-runner).

🤖 Generated with Claude Code

Safe security patches applied to every module's go.mod and re-vendored.
9 of 10 modules build clean (go build ./...); common-lib/securestore/
rollback has only a PRE-EXISTING failure (sql.BuildTLSConfig, from the
postgres-SSL work vs its pinned common-lib) that is unrelated to these
bumps and is not part of `make build`.

Per-module updates:
- all modules: golang.org/x/crypto -> v0.52.0 (critical), x/net -> v0.55.0
- chart-sync: + oras-go/v2 2.6.1, containerd 1.7.33 (replace target bumped),
  helm/v3 3.20.1 -> 3.20.2 (already on k8s 0.35, clean patch)
- ci-runner: + otlptracehttp 1.43.0, aws-sdk s3 1.97.3, eventstream 1.7.8
- common-lib: + oras-go/v2 2.6.1, aws-sdk s3 1.97.3, eventstream 1.7.8
- git-sensor: + go-git/v5 5.19.1, go-billy/v5 5.9.0
- kubelink: + oras-go/v2 2.6.1, containerd 1.7.33
- kubewatch: + oras-go/v2 2.6.1, go-git/v5 5.19.1, go-billy/v5 5.9.0,
  pgx/v5 5.9.2, otlpmetrichttp 1.43.0, argo-workflows/v3 3.7.11 -> 3.7.14
- common-lib/securestore/rollback: x/crypto -> v0.52.0

Deliberately NOT included (deferred to a separate branch or no fix):
- helm/v3 3.20.2 for common-lib & kubelink: forces k8s 0.33 -> 0.35 (major),
  handled on a separate branch for regression testing
- github.com/argoproj/argo-cd/v2 (kubewatch): no patched version
- github.com/quay/claircore (image-scanner): no patched version
- github.com/docker/docker (common-lib, ci-runner): no patched version

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

kubewatch's image build failed with:

    go: go.mod requires go >= 1.25.7 (running go 1.25.5; GOTOOLCHAIN=local)

The Dependabot patch (d3b4df8) wrote `go 1.25.7` into kubewatch/go.mod,
but golang:1.25-alpine3.21 does NOT track the latest 1.25 patch. Docker
Hub stopped publishing 1.25.x-alpine3.21 variants - that tag was last
pushed 2025-12-02 and is pinned to Go 1.25.5; no 1.25.7-alpine3.21
exists. golang:1.25-alpine is still maintained and currently resolves to
1.25.12.

authenticator and common-lib/securestore/rollback were separately broken:
builder on Go 1.24 with go.mod already at 1.25.0.

All three move to golang:1.25-alpine. Side effect: the builder base goes
alpine 3.21 -> 3.22. Safe for the two stages that keep an alpine:3.21.2
runtime - both alpine versions ship musl 1.2.5 (r11 vs r12), and
kubewatch/rollback build with CGO_ENABLED=0 anyway.

Still on the frozen tag and due to break the same way once their go
directive passes 1.25.5: ci-runner (x2), image-scanner, lens, git-sensor.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant