A fixed CVE stays open after a new supplier SBOM version when any component has no purl #1040

Open
opened 2026-11-17 12:11:10 +00:00 by sharang · 0 comments
Owner

Found while testing on stage (#1025, target "Test Supplier SBOM (Claude, stage)").

What happens

A new supplier SBOM version updated minimist 1.2.5 → 1.2.6, which fixes CVE-2021-44906. The rescan's Verlauf records the update, but the alert stays open.

Why

A scan marks alerts gone only when its CVE lookup was complete (resolve_gone(…, complete)). The no-code path sets complete &= lookup.unchecked.is_empty(). The test SBOM has one component without a purl (test-vendor-blob), so every lookup on that target is incomplete and no CVE ever closes.

The code pipeline uses the same rule. Supplier SBOMs, though, almost always contain proprietary components without a purl, so for them it blocks nearly always.

Proposal (needs a decision; overlaps #1015)

Let an incomplete lookup protect only the alerts of the components it could not check: an alert whose component (name and version) is among the unchecked ones stays open. Every other alert the lookup no longer reports is gone, as after a complete lookup.

This touches pipeline/vex_lifecycle.rs, which #1015 also changes, so it waits for #1015 or the owner's call.

Done when

  • Replacing a supplier SBOM with a version that fixes a CVE closes that CVE, even when another component has no purl.
  • An alert of a component that could not be checked stays open.
Found while testing on stage (#1025, target "Test Supplier SBOM (Claude, stage)"). ## What happens A new supplier SBOM version updated minimist 1.2.5 → 1.2.6, which fixes CVE-2021-44906. The rescan's Verlauf records the update, but the alert stays open. ## Why A scan marks alerts gone only when its CVE lookup was complete (`resolve_gone(…, complete)`). The no-code path sets `complete &= lookup.unchecked.is_empty()`. The test SBOM has one component without a purl (`test-vendor-blob`), so every lookup on that target is incomplete and no CVE ever closes. The code pipeline uses the same rule. Supplier SBOMs, though, almost always contain proprietary components without a purl, so for them it blocks nearly always. ## Proposal (needs a decision; overlaps #1015) Let an incomplete lookup protect only the alerts of the components it could not check: an alert whose component (name and version) is among the unchecked ones stays open. Every other alert the lookup no longer reports is gone, as after a complete lookup. This touches `pipeline/vex_lifecycle.rs`, which #1015 also changes, so it waits for #1015 or the owner's call. ## Done when - [ ] Replacing a supplier SBOM with a version that fixes a CVE closes that CVE, even when another component has no purl. - [ ] An alert of a component that could not be checked stays open.
sharang added the cvebug labels 2026-11-17 12:11:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#1040