Skip to content
JohnAwo
← All writing

Docker Hardened Images and the gap between a fix and a rollout

A patched base layer moving through a container rebuild and deployment

A base-image patch can be available in the morning while production still runs yesterday’s build. Docker’s November response to Java4Shell and two NGINX HTTP/2 flaws illustrates the gap. Docker published updated NGINX images on the day the upstream fixes arrived. Patched Java images became available by runtime vendor, with some builds ready earlier than others. For a team running both, the work starts by finding out which runtime ships in each image. Docker’s November patch report

Follow the image that reaches production

A Java runtime can arrive inside a vendor application image, so inventory the applications that bundle it as well as the services your team builds. An SBOM can help identify what’s inside a specific image. Docker says its hardened images ship with signed SBOMs and build provenance, which give teams a record of the package contents and how the image was built. Docker’s November patch report

An application image built with FROM gets its runtime at build time. When a fixed base becomes available, rebuild the application, run the normal smoke tests, and publish a new application image. If you mirror your base images into an internal registry, confirm that the mirror has the fixed build before CI starts.

Verify the running revision

Docker’s report lists NGINX 1.30.7 and 1.31.9 as fixed versions for the HTTP/2 flaws it covers. The Java version to verify depends on the runtime vendor and branch. A tag can stay the same when its underlying image changes, so record the image digest during the rollout and compare it with the revision the deployment actually pulled. Then check the runtime version inside a running instance using nginx -v or java -version, as applicable. Docker’s November patch report

That record connects three events a team may otherwise track separately: the base image was patched, the application was rebuilt, and the rebuilt artifact reached production. It also makes the next rollout easier to audit.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top