← Back to Baseline

MB-0057

Automated Collected package versions are not reported withdrawn

MB-C09 Extension Vulnerability Management High

Every package version in the complete collected Composer lock inventory has an explicit non-yanked status from the configured package-status source. Missing per-package status cannot establish a clean result.

Overview

Every package version in the complete collected Composer lock inventory has an explicit non-yanked status from the configured package-status source. Missing per-package status cannot establish a clean result.

Why it Matters

Withdrawal metadata can signal a release that should no longer be selected. It deserves review even when no advisory identifies the same version.

Withdrawal is not itself proof of malicious code or a security defect; explicit status is the evidence assessed here.

Verification Steps

Manual Verification

  1. Match each exact locked package/version with explicit yanked/withdrawn metadata from the configured source.
  2. Record unsupported and failed lookups.
  3. Review replacements for confirmed withdrawals.

Command / Review Sample

composer show --locked --format=json
# Compare exact versions with dated package-status responses.

Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.

Remediation / Fix Guidance

  1. Match the reported package/version, source status and observation time. Confirm affected advisories and vendor support separately; apply a reviewed update, replacement or approved maintenance exception as appropriate.
  2. Verify the current package metadata and upstream response again. Test Magento/module compatibility after any dependency change; a newer version number alone does not prove the store safe.
  3. Rerun MB-0057 against the same release, profile and relevant file/key/package scope; compare the new evidence and inspect any independent collection gaps.

Examples

Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.

Fail Example

The source explicitly marks a locked version withdrawn.

Pass Example

Every assessed version has explicit known non-withdrawn status.

Scope and Evidence Limits

Rule revision: 3. Target modes: LOCAL.

Every package version in the complete collected Composer lock inventory has an explicit non-yanked status from the configured package-status source. Missing per-package status cannot establish a clean result.

This check covers only the collected observation. Missing collection scope, external controls and runtime behavior require separate evidence.

Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.

References