Repository navigation
fix(security): remediate mgmt console image vulnerabilities - #4777
plural-copilot[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
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 |
Confidence Score: 4/5
[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
SummaryUpdates the controller and Kubernetes Agent builders to Go 1.27.4 and raises selected Go dependencies.
Reviews (1) · Last reviewed commit: "fix(security): remediate console image v..." · Reviewed by Greptile |
| 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 |
There was a problem hiding this comment.
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.
Summary
Source remediation for Plural Service
mgmt/console.golang.org/x/netv0.62.0,golang.org/x/cryptov0.58.1-0.20261009181718-2f1f834330b2, and OpenTelemetry v1.47.0 where used.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-clibinary, third-party redis/cloud-query-db, or API-truncated FS/PseudoFS findings.Validation
go mod verifyfor controller, kubernetes-agent/api, and kubernetes-agent/kasdocker build --target tools -f Dockerfilegit diff --checkA bounded API compile-only test was stopped after eight minutes while downloading dependencies.