A scanner result usually begins with a name, version, and advisory. The production question is longer: which package supplied the code, whether the vendor backported a fix, whether the component entered the built artifact, which artifact digest was deployed, which version the process loaded, and whether the relevant function can be reached in the observed configuration. Skipping any link turns triage into guesswork.

This verification does not try to make the finding disappear. It assigns a defensible status to a particular deployed component at a particular time. Pentest.red’s security finding triage article covers the broader workflow. Here the focus is the narrow evidence chain from advisory to a running service.

Normalize the advisory and component identity

Record the advisory identifier, affected version expression, ecosystem, package name, supplier, platform, architecture, and fixed versions. Similar names across language modules, operating-system packages, and embedded copies are not interchangeable. Preserve the scanner’s original locator, such as image layer, filesystem path, package database, or lockfile.

A version string alone is not identity. Distribution release, epoch, revision, build metadata, and source package can change the comparison. Record which comparator produced the result and whether it understands the vendor’s package format.

Check the vendor’s backport position

Enterprise distributions often apply a security fix to an older upstream version while retaining a familiar base version. A generic scanner that compares only upstream versions can therefore report a false positive. The check must use the distribution advisory, installed package release, and changelog or vendor status, rather than merely declaring that an old-looking version is safe.

Scroll sideways to compare

Link in the chainUseful evidenceInadequate shortcut
Advisoryaffected range and fixed releaseCVE title alone
Distribution packagevendor advisory and full releaseupstream version only
BuildSBOM, lockfile and provenancerepository default branch
Deploymentimmutable image or artifact digestmutable tag
Runtimeloaded module, process map or endpointfile somewhere on disk
Usagerelevant feature and safe tracetheoretical reachability forever

A vendor “not affected” decision applies only to the named build and context. Rebuilding from another repository or mixing packages reopens the question.

Bind the result to an immutable artifact

Tags such as production or latest can move. Capture the image manifest digest or equivalent immutable artifact identifier, then show that the running workload references that digest. Build provenance can associate the artifact with source and build parameters, while an SBOM inventories components reported by the build process.

Deployed component verification
  1. Advisorynormalize package identity and affected range
  2. Buildbind SBOM and provenance to an immutable digest
  3. Deploymentprove the workload runs that exact digest
  4. Runtimeidentify the loaded version and relevant use path

An SBOM is evidence with scope limits. Some build defaults describe only the final stage, omit copied artifacts, or cannot see a component installed outside the package manager. The verifier states the generator, mode, platform, and gaps instead of treating SBOM absence as proof of absence.

Distinguish present, packaged, and loaded

A library can appear in a source lockfile but not in the production build. It can be present in an image layer but unreachable from the final filesystem. It can exist on disk while the process loads a different copy. Conversely, a statically linked or shaded component may not have the filename expected by a scanner.

Use the least invasive runtime evidence available: package inventory inside the exact artifact, module listing, process maps, application diagnostics, classpath or dependency endpoint, and build symbols. Avoid installing debugging tools into production just to create evidence; reproduce the digest in a controlled environment when instrumentation would change it.

Evaluate the relevant use path carefully

If the vulnerable behavior requires an optional parser, protocol, algorithm, or feature, determine whether the deployed configuration can invoke it. Use code references, configuration, routes, feature flags, and a safe trace or test where authorized. State prerequisites and alternative paths.

“Not reached in this test” is weaker than “not affected.” Configuration changes, new inputs, or a different call path can alter reachability. Treat reachability as time-bound compensating evidence and keep patching or replacement decisions separate. Do not send exploit payloads to production merely to strengthen a package finding.

Use an illustrative container case

Suppose a scanner flags library 2.4.1 in an image tagged production. The distribution advisory shows that release 2.4.1-18 includes a backported fix. The team resolves the tag to digest sha256:A, confirms the workload runs A, and obtains an SBOM and package database showing 2.4.1-18. A controlled replica reports the same loaded module.

The correct status is “not affected for digest A by this advisory,” with the vendor evidence attached. If production resolves to digest B, or the SBOM reports only the builder stage, the status remains unknown. This is an illustrative scenario, not a claim about a real image or vulnerability.

Assign status with expiration conditions

Use a small status vocabulary. Confirmed means the affected component is tied to the deployed artifact and the vulnerable condition is present. Not affected means named evidence excludes the advisory for that exact artifact and context. Unknown means a required link is missing or contradictory. Mitigated can record a temporary control without pretending the component is fixed.

A VEX statement communicates an assessment in a product-specific context. It should include the product or component identity, vulnerability, status, justification, author, and time. Reassess when the artifact digest, base image, platform, feature configuration, advisory, or evidence source changes.

Deliver a reproducible evidence record

The record contains scanner output, advisory snapshot, package comparator, vendor backport evidence, full package release, SBOM and provenance identifiers, artifact digest, deployment observation, runtime observation, use-path evidence, status, owner, and expiry trigger. Contradictions stay visible rather than being averaged into confidence.

Pentest.red can perform this work within an agreed web application pentest when dependency evidence must be connected to application paths, with production limits in the pentest scope. The sample report illustrates how to separate observation, impact, remediation, and limitations. The conclusion remains bound to the named artifact and time.

PENTEST.RED

Discuss pentest scope and pricing

We start by agreeing on systems, access, constraints and the expected evidence.

Prepare your testing scope

Based on in-depth research, edited for clarity and practical use.

PENTEST.RED / RED JOURNAL