Image scanning, SBOMs and vulnerability triage
An SBOM (software bill of materials) inventories software components. Image vulnerability analysis compares identified components with advisory data. A finding is a lead to investigate, not proof that an application can be exploited; a report with no findings is not proof of safety.
Worked example
This is an offline lesson. Scenarios are fictional and Docker commands are unexecuted. Any optional execution requires an approved disposable VM, a reviewed preloaded image with verified digest, blocked external access and appropriate resource limits. No host-policy change, real credentials or live scan is required. Keep the exercise offline. Before any separately authorized runtime check, verify the effective daemon, builder, runner or deployment identity as applicable; use synthetic data, reviewed inputs and bounded resources. Record missing evidence as NOT RUN.
Synthetic report, NOT a real scanImage: fictional digest A; target: linux/amd64Advisory snapshot: fictional date DComponent alpha: high severity; reachable path unknown; fixed version availableComponent beta: medium severity; used by exposed service; fix under reviewAction: verify advisory applicability, exposure, update and retestDocker Scout is one example of a tool that analyzes image component metadata against vulnerability information. A scanner can miss components, misidentify versions or report a package that a distribution has already patched. Review the vendor advisory, actual version, application reachability, exposure and remediation feasibility. Do not prioritize solely by the severity label. Rebuild with reviewed updates, run regression tests and analyze the new digest under a recorded advisory database date and tool version. Record exceptions with owner, expiry and compensating controls. Re-scan when relevant advisory information changes. This fictional report has no actual CVE IDs, scanner version or measured findings; no scanner is run. Record the exact scanned platform digest, scanner version, advisory snapshot and scan scope. Unknown reachability is not evidence of absence of risk; a vendor-fixed distribution package may require a vendor advisory rather than an upstream version comparison alone. Verify the new artifact after remediation.
Common mistake
An SBOM is not a scan result, and a clean scan does not establish that the image is safe or signed.
Manual practice
Compare the two fictional findings. List information you need before prioritizing, then propose a fix-and-retest plan for the exposed component.
Worksheet: lab-fixtures/docker-container-security/10-image-scanning/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Image scanning, SBOMs and vulnerability triage — Knowledge check
Apply defensive container security reasoning in a fictional scenario.
What does an SBOM principally describe?
What is needed besides severity for prioritization?
Why record the advisory database date?