Skip to content

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

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

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

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 31 of the 32 open Dependabot alerts on central-api. These are dependency bumps only: go.mod / go.sum / vendor plus the Go builder image.

Module From → To
github.com/go-jose/go-jose/v4 v4.1.3 → v4.1.6
github.com/golang-jwt/jwt/v4 v4.5.0 → v4.5.2
go.opentelemetry.io/otel, sdk, trace v1.39.0 → v1.47.0
golang.org/x/crypto v0.47.0 → v0.55.0 (13 alerts)
golang.org/x/net v0.49.0 → v0.58.0
google.golang.org/grpc v1.78.0 → v1.83.2

Go 1.26: otel v1.47 needs Go 1.26, so the module moves from go 1.24.6 to go 1.26.0, and the Dockerfile changes from golang:1.24.6-alpine to golang:1.26.6-alpine.

Not fixed: go-pg/pg (no patched release).

Heads-up: develop doesn't build as-is (pre-existing)

Wire.go and wire_gen.go import github.com/devtron-labs/central-api/internal/logger, but 4b90169 deleted that package. api/RestHandler.go also references setupResponse, WriteJsonResp and json, which aren't defined. That's why I ran go mod tidy -e / go mod vendor -e. Every other package (api/currency, api/handler, client, common, pkg/...) builds, on develop and on this branch alike. This PR doesn't touch that code.

Related PRs (same Dependabot sweep)

🤖 Generated with Claude Code

- go-jose/v4 v4.1.6, golang-jwt/jwt/v4 v4.5.2, grpc v1.83.2
- otel, otel/sdk and otel/trace v1.47.0
- x/crypto v0.55.0, x/net v0.58.0 (via grpc)
- otel v1.47 needs Go 1.26: go 1.26.0 with golang:1.26.6-alpine builder

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@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
@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

1 similar comment
@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

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