Skip to content

fix(security): remediate mgmt console image vulnerabilities - #4777

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

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

Conversation

@plural-copilot

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

Copy link
Copy Markdown
Contributor

Summary

Source remediation for Plural Service mgmt/console.

  • Build deployment-controller and Kubernetes Agent components with Go 1.27.4.
  • Update affected Go requirements: golang.org/x/net v0.62.0, golang.org/x/crypto v0.58.1-0.20261009181718-2f1f834330b2, and OpenTelemetry v1.47.0 where used.
  • Move the Console production runtime to Alpine 3.24.4 and retain only the bounded relevant runtime package upgrade.

Scope

This PR deliberately does not change any GitOps image tags. Rebuild and publish the affected images before deploying/tagging them. It also does not alter the separately owned plural-cli binary, third-party redis/cloud-query-db, or API-truncated FS/PseudoFS findings.

Validation

  • go mod verify for controller, kubernetes-agent/api, and kubernetes-agent/kas
  • Console Alpine runtime package-resolution/version check
  • docker build --target tools -f Dockerfile
  • git diff --check

A bounded API compile-only test was stopped after eight minutes while downloading dependencies.

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

@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 all owned, scanner-fixable vulnerabilities for the mgmt/console deployment that are controlled in this repository. Create one focused PR with an informative body that identifies this as source remediation for Plural Service mgmt/console (do NOT add a GitOps tag-bump; images must be rebuilt/published first)....
🔗 Run history View run history

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

greptile-apps Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 4/5RetriggerView in Greptile

[Medium impact] The PR updates build inputs for the Console, controller, and Kubernetes Agent images.

The PR appears safe to merge, with a non-blocking request to smoke-test the final Console image.

Findings

  1. P2 Console startup goes unchecked ▶

Summary

Updates the controller and Kubernetes Agent builders to Go 1.27.4 and raises selected Go dependencies.

  • The Console production image runs on Alpine 3.24.4.
  • The deployment controller builds with Go 1.27.4 and refreshed dependencies.
  • Kubernetes Agent builds use Go 1.27.4 and refreshed dependencies.

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

Comment thread Dockerfile
ARG OS_VERSION=3.23.4
ARG TOOLS_IMAGE=${OS_VARIANT}:${OS_VERSION}
ARG RUNNER_IMAGE=alpine:3.23.4 # TODO: change back to ${OS_VARIANT}:${OS_VERSION}
ARG RUNNER_IMAGE=alpine:3.24.4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Console startup goes unchecked

The runner moves to Alpine 3.24.4, but CI only builds and pushes the image. It never starts the release copied from the Alpine 3.23.4 builder. If a required shared library is missing or incompatible, the build could pass and Console could fail when deployed.

Add a smoke check that starts the final image and waits for its health endpoint. Building only the tools stage or checking package versions does not cover this.

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