Our cluster scanner reports hundreds of vulnerabilities across images pulled by vendor Helm charts. Rebuilding all those images ourselves is not practical. Are there tools that can actually remediate them, and how do they work with charts we do not own?
How can we fix vulnerable images in vendor Helm charts without rebuilding everything?
Answers
Take a look at Project Copacetic. It can add a layer to an existing image with updates for packages that have available fixes. That gives you a patched image without having to rebuild the original from its Dockerfile.
You still need somewhere to publish the new image and a way to point the chart at it. Test the result before deploying it, and don't expect it to fix vulnerabilities for which no package update exists.
Reply to this answer
I'd start by checking whether there's a maintained replacement for the exact image the chart uses. Chainguard is one option to investigate for common images, but check compatibility rather than assuming a similarly named image is a drop-in replacement.
The chart usually won't be edited for you. Look at its values for image registry, repository, tag, or digest overrides, then test the replacement with the chart's configuration.
Reply to this answer
For a paid vendor chart, ask the vendor about fixes and supported image versions before patching or swapping the image yourself. The security improvement is useful, but losing support for a production workload could be a serious tradeoff.
Reply to this answer
Those counts can be noisy. Scanning images in the repository can help you focus on dependency findings per image instead of treating the cluster-wide total as one giant remediation task.
Group the results by image and check which findings actually have fixes available. That should make it easier to decide where a replacement or a patch is worth testing first.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Tavmiri-8c:
Check the vendor support terms first, especially for commercial software. A modified image may not be supported even if it passes your tests.