OCImendby CloudTrace

How to fix container image CVEs automatically

OCImend · 2026-09-26

Short answer

To fix container CVEs automatically, rebuild the image with fixed versions of exactly the vulnerable packages, then rescan it and run it to confirm it is better and still works, and repeat whenever new fixes are published. OCImend does all of this online, for free: paste the image, pull the fixed one.

Illustrative: CVEs before and after a package-upgrade rebuild
original
26
-fixed
0

The loop

  1. 01Scanwhich packages have fixes
  2. 02Fixone click, online
  3. 03Rescanfewer CVEs, none new
  4. 04Smoke teststarts like the original
  5. 05Watchrepeat when fixes land

What an automatic fix can and cannot do

FindingAutomatic fixWhy
OS package with a fixed versionyesfixed in the new image
OS package, no fix yetlaterwatch: rebuilt when the distribution ships it
Go / npm / pip dependencynoneeds a rebuild from source; the report lists the version
End-of-life basenomove to a supported base; alternatives are measured

Why a gate matters

An upgrade can pull in a new vulnerable dependency or break start-up. A fix is only useful if it is measured: fewer known CVEs, none introduced, and the container still starts.

Fix an image →

Questions

Does fixing change my application?
No. Only vulnerable system packages change. Your application, its settings and how it starts stay as they were.
What if no fix is available?
Watch the image: it is re-checked daily and the fixed image is rebuilt when the distribution ships a fix. Meanwhile a slimmer base often removes most findings.
Is it free?
Yes. Fixing public images online is free, with no sign-up. Private images are fixed too and handed back to you, never published.

Sources

More guides