Skip to content

fix(security): remediate Console component image CVEs - #4772

Open
plural-copilot[bot] wants to merge 1 commit into
masterfrom
agent/remediate-console-image-cves-1796140800000
Open

plural-copilot[bot] wants to merge 1 commit into
masterfrom
agent/remediate-console-image-cves-1796140800000

Conversation

@plural-copilot

@plural-copilot plural-copilot Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Source remediation

Remediates scanner-fixable, owned findings in the source builds for:

  • ghcr.io/pluralsh/deployment-controller — go/deployment-operator/Dockerfile with go build context (plus related owned deployment-operator builder variants)
  • ghcr.io/pluralsh/kubernetes-agent (KAS/API/agentk) — go/kubernetes-agent/hack/docker/Dockerfile with go build context
  • ghcr.io/pluralsh/console — root Dockerfile

Changes

  • Builds affected Go binaries with Go 1.27.4.
  • Updates golang.org/x/net to 0.62.0, golang.org/x/crypto to fixed v0.58.1-0.20261009181718-2f1f834330b2, and affected OpenTelemetry trace/sdk packages to 1.47.0.
  • Updates the deployment-controller Helm library to 3.21.4 for compatibility with the fixed crypto package; does not change the separately downloaded Helm CLI.
  • Explicitly upgrades the Console final Alpine runtime packages for zlib, OpenSSL, musl-utils, expat, gnutls, git, and git-init-template to current fixed v3.23 revisions on rebuild.

Validation

  • go mod verify for deployment-operator, Kubernetes Agent API, and KAS
  • go test ./... for Kubernetes Agent API
  • go test ./cmd/agentk for KAS
  • Alpine package upgrade simulation and git diff --check

The full deployment-controller compile/image build was attempted but exceeded deliberate local time limits after module verification/dependency resolution.

The Kubernetes Agent final base is mutable gcr.io/distroless/static-debian12:nonroot; the reported Debian tzdata and ca-certificates patch versions cannot be reproducibly pinned from this repository, so no speculative base edit was made.

This is source remediation only. It includes no GitOps image-tag promotion; rebuilt/published artifacts can be promoted separately. Redis, cloud-db, Nexus, Git Server, OCI-auth, filesystem-report-only items, and the embedded plural CLI are intentionally unchanged.

@plural-copilot
plural-copilot Bot requested a review from a team as a code owner December 1, 2026 19:12

@plural-copilot plural-copilot Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:

Name Details
💬 Prompt Remediate every owned, source-controllable, scanner-fixable vulnerability currently reported for the mgmt/console service component images built from this repository. Create one focused PR, with an informative body that names all affected images/build paths and says it is source remediation only (no GitOps image-tag promotion)....
🔗 Run history View run history

@github-actions github-actions Bot added the enhancement New feature or request label Dec 1, 2026
@socket-security

Copy link
Copy Markdown

@greptile-apps

greptile-apps Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no blocking issue caused by the changes was established.

Summary

Updates the source builds for Console, the deployment controller, and Kubernetes Agent.

  • The Console Alpine image refreshes its runtime packages during the build.
  • Deployment-controller builds use Go 1.27.4 and updated Go dependencies.
  • Kubernetes Agent builds use Go 1.27.4 and updated API and KAS dependencies.

No actionable issue caused by these changes was established. git diff --check passed. Builds, tests, and final package versions were not independently verified during this review.

Reviews (1) · Last reviewed commit: "fix(security): remediate console compone..." · Reviewed by Greptile

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant