Skip to content

chore(deps): fix open Dependabot security alerts - #7109

Open
prakash100198 wants to merge 1 commit into
developfrom
fix/dependabot-alerts-2026-12-oss
Open

prakash100198 wants to merge 1 commit into
developfrom
fix/dependabot-alerts-2026-12-oss

Conversation

@prakash100198

@prakash100198 prakash100198 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixes: https://github.com/devtron-labs/sprint-tasks/issues/3010

Summary

Fixes 21 of the 24 open Dependabot alerts on devtron. These are dependency bumps only: go.mod / go.sum / vendor, with no code changes.

Module From → To Alerts
github.com/argoproj/argo-cd/v3 v3.4.7 → v3.4.10 1 critical, 1 high
github.com/getkin/kin-openapi v0.144.0 → v0.149.0 7 (used only by tests/api-spec-validation)
github.com/go-jose/go-jose/v4 v4.1.4 → v4.1.6 3
github.com/klauspost/compress v1.18.5 → v1.18.7 1 high
go.opentelemetry.io/otel, sdk, trace, otlptrace, otlptracegrpc v1.43.0 → v1.47.0 5
google.golang.org/grpc → v1.83.2 3

Side effect: the otlptrace exporters at v1.47 need grpc-gateway v2.30, which needs otelgrpc v0.70. So the otelgrpc v0.61.0 => v0.46.1 replace no longer applies and otelgrpc v0.70.0 is used directly. Our code only calls otelgrpc.NewClientHandler(), which v0.70 still has.

Not fixed here (and why)

  • helm.sh/helm/v3 → 3.20.2 (GHSA-hr2v-4r36-88hr, medium). The first patched helm v3 needs k8s.io v0.35. k8s 0.35 drops the gogo ProtoMessage() methods that argo-cd v3.4's generated gateway code needs, so the orchestrator fails to compile (argo-cd/v3/pkg/apiclient/application/application.pb.gw.go: *v1.EventList does not implement protoiface.MessageV1). It is bumped only in kubelink, which doesn't use argo-cd. It is not bumped in the orchestrator, or in common-lib / common-lib-private, because those are consumed by the orchestrator and kubewatch and would push k8s 0.35 onto them. It unblocks with argo-cd v3.6 (k8s 0.37, Go 1.27).
  • vmware-tanzu/velero → 1.18.1 (GHSA-j2g6-362q-6qc6, medium, path traversal in velero's own restore tarball extraction). velero removed pkg/generated/clientset and the generated informers in v1.15, and every patched version is ≥ 1.18.1. kubewatch (5 velero handlers) and the ent orchestrator (1 file) use them (OSS has no velero alert), so this needs a code migration, not a bump. We only use the API types and the clientset, never the vulnerable restore path.
  • Alerts with no patched release yet: go-pg/pg, docker/docker, docker/distribution, quay/claircore, go-jose/v3.

Verification

  • go build ./... passes on top of latest develop (orchestrator, external-app, fetchAllEnv, live-test, validator).
  • Checked every alerted module with go list -m: each one now resolves at or above its patched version, except the helm alert above, go-pg and docker/distribution (no fix).

Related PRs (same Dependabot sweep)

🤖 Generated with Claude Code

- argo-cd/v3 v3.4.10 (critical + high advisories)
- kin-openapi v0.149.0
- go-jose/v4 v4.1.6, klauspost/compress v1.18.7, grpc v1.83.2
- otel, otel/sdk, otel/trace and otlptrace exporters v1.47.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bito-code-review

Copy link
Copy Markdown

Bito Automatic Review Skipped - PR Too Large

Bito didn't auto-review this PR because it exceeds the size limits of the free plan.To review large pull requests, please upgrade to a paid plan here.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

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

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

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

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

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

@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

FROM golang:1.27-trixie
ENV GOTOOLCHAIN=local

COPY . /src
@@ -0,0 +1,13 @@
# This containerfile can be used to run the go-jose tests and cli

FROM golang:1.27-trixie

This branch has not been deployed

No deployments
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.

2 participants