Files
pruefwerk/docs/guide/vex-en.md
T
Sharang ParnerkarandClaude Opus 5.5 63eebef021 fix(vex): a CVE a scan no longer finds is not stated fixed (#994)
A complete scan that no longer finds a CVE used to state VEX `fixed`
(Weg A), and the exports read `resolved_at` without a statement as
`fixed` (Weg B). A CVE can disappear without a fix, so neither holds.

- resolve_gone only sets resolved_at; it states nothing.
- CveAlert::statement() ignores the `fixed` scans inferred that way
  (by_scan, fixed, no reason given); a Yocto recipe's statement gives its
  reason and still counts. status_of, is_resolved_by_vex, the exports,
  the CVE groups and the ENISA drafts all read through it.
- status_of: no statement means under_investigation, gone or not.
- ENISA: the final report is dated only by a person's `fixed`; an
  exploited CVE that is merely gone reads "no longer found", not fixed.
- The CVE list (API and MCP) leaves the inferred statements out, so the
  dashboard no longer shows them.
- scripts/vex-994-cleanup.js counts the stored ones and removes them only
  with apply=true; dry run by default, counts only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-27 20:18:29 +01:00

7.7 KiB

title
title
Assessing vulnerabilities (VEX)

Assessing vulnerabilities (VEX)

For each known vulnerability (CVE) in a target's components you state whether your product is affected. These statements are called VEX (Vulnerability Exploitability eXchange). The CRA requires manufacturers to assess vulnerabilities and inform users; VEX is the usual format for it.

Where

On a target's page, section Vulnerabilities and VEX. The Grouped view (the default) gathers the open vulnerabilities per component and version and says what an update does, e.g. "vite 5.4.21 → 8.3.3 fixes 9 CVEs (1 high, 1 low, 7 info)": the highest version the advisories name as fixed, and the vulnerabilities per severity. KEV and the highest EPSS score stand beside it; Show CVEs expands the rows. The One by one view shows each vulnerability with its component, severity, status and who made the statement, including those already assessed or fixed.

Statuses

Status Meaning Required
Under investigation Not assessed yet; every vulnerability starts here --
Affected The product is affected What users must do (e.g. "Update to version 2.3")
Not affected The product is not affected A justification or a statement saying why
Fixed The product no longer contains the vulnerable component or version --

Justifications for "Not affected":

  • Component not present
  • Vulnerable code not present
  • Vulnerable code not in execute path
  • Cannot be controlled by an adversary
  • Inline mitigations already exist

Assessing

  1. Click Assess in the vulnerability's row.
  2. Choose a status and fill in what it requires. Until you do, Save stays disabled and a note says what is missing.
  3. Save. The "Stated by" column shows your name.

For every open vulnerability of a component at once: click Not affected (all N) on the group, give a justification or a statement, Save. Each vulnerability of the group gets the same statement, as if you had assessed it on its own; the exports and the closing of tickets behave the same. Those stated "Not affected" or "Fixed" are not in the group and keep their statements; an "Affected" or "Under investigation" statement is replaced.

Read-only roles see the statements but cannot assess.

What a scan changes

When a complete scan no longer finds a vulnerability, it is no longer open, and its assessment stays as it is. A scan never states "Fixed" for it: a vulnerability can disappear without a fix, for example through other scan data, an incomplete inventory or a changed identification. Only a person states "Fixed". A "Fixed" a scan stated that way before is not read as a statement. A statement made by a person is never changed by a scan.

A vulnerability that is "Not affected" or "Fixed" (stated by a person, by the scan or in an imported VEX document) raises no notification and gets no issue in the repository's tracker; with ISSUE_AUTOCLOSE=on an open issue for it is closed with a comment naming the status and the reason. If the statement is withdrawn, it notifies and its issue is reopened as before. Notifications raised before the statement stay in the list until they are dismissed.

Downloading

Download OpenVEX and Download CycloneDX VEX save the target's statements as OpenVEX 0.2.0 and CycloneDX 1.6. Both files are also in the evidence pack (vex.openvex.json, vex.cdx.json). Formats, how the terms map and the API: see SBOM.

In every format (OpenVEX, CycloneDX, CSAF) a vulnerability is named by its CVE when one is known, as ENISA and BSI do. The GitHub advisory id (GHSA-…) goes alongside: under aliases in OpenVEX, references in CycloneDX and ids in CSAF. A vulnerability without a CVE keeps the advisory's id. The same CVE found in a component both as a CVE and as a GitHub advisory is one statement.

CSAF draft

Download CSAF draft saves the same statements as a CSAF 2.0 VEX advisory (csaf_vex), the format manufacturers and CERTs publish vulnerabilities in. The draft

  • names the target as the product and each affected component as part of it (with its purl; a fixed component no longer in the SBOM with the purl it had when the alert was found);
  • carries every statement: "Affected" with your action statement as the remediation, "Not affected" with its justification and statement, "Under investigation" and "Fixed";
  • is marked as a draft (draft) and TLP:AMBER, with the note "Draft, not published: check publisher and statements before release." (shown below the download button as an amber badge whose tooltip says what TLP:AMBER allows: share only within your organisation and with clients who need to know);
  • is tagged with the UI's language (lang).

The publisher is your workspace. Enter your company's web address before downloading (CSAF requires one); without it the document holds the placeholder https://example.invalid/<workspace>. Before publishing, check the publisher and the statements and set the TLP label to WHITE (public; "CLEAR" in TLP 2.0) or GREEN. The draft passes the CSAF schema and the standard's mandatory tests. It is also in the evidence pack (csaf-vex.json, with the placeholder).

ENISA notification (CRA Art. 14)

Since 11 September 2026, manufacturers must notify actively exploited vulnerabilities in their products through ENISA's reporting platform (CRA Art. 14(1) and (2)): an early warning within 24 hours, a vulnerability notification within 72 hours and a final report no later than 14 days after a corrective measure is available.

Prüfwerk recognises actively exploited vulnerabilities from CISA's KEV catalog and the SSVC exploitation "active". Where the product is affected or under investigation, or the vulnerability was fixed after a scan found it exploited (then the final report is due), the row shows ENISA notification (draft) and the three stages' deadlines as they stand when the page loads: "due in N h", or in red "overdue since …". The deadlines run from the scan that first found the exploitation. A vulnerability is one notification, also when several alerts name it (a GitHub advisory and its CVE) or it affects several components. The draft

  • holds the platform's fields in their order, per stage (early warning, 72-hour notification, final report), with number, name, requirement as ENISA states it and the point of Art. 14 it serves (cra_art14_ref), following the ENISA CRA SRP Glossary, version 1.4 of 1 October 2026 (recorded in the draft under glossary);
  • fills what Prüfwerk knows: product, component, CVE, the nature of the exploitation, measures from your VEX statement, severity;
  • lists under to_complete what only you know: always the Member States where the product is made available, and the product version, when the exploitation occurred, the measures taken and the date the fix became available;
  • is stamped "Draft, not submitted". Prüfwerk submits nothing: you enter the data in the reporting platform (portal.cra-srp.enisa.europa.eu) yourself, through the CSIRT of your main establishment.

Through the API you can give the time the deadlines run from (aware_at); without it, the first scan that found the exploitation counts. For a vulnerability assessed "Fixed" the draft carries the date of that statement (field v22) and the final report's deadline. One a scan only no longer finds leaves both open until someone states "Fixed". A vulnerability assessed "Not affected", or fixed or no longer found before any scan found it exploited, gets no draft. Actively exploited vulnerabilities are also in the evidence pack as enisa-drafts.json. When ENISA changes the glossary we update the fields; the version in a draft shows which one it follows.