A scanner that matches component versions against advisories reports every vulnerability present in a package, whether or not the product can be harmed by it. VEX is how the people who understand the product record the answer to that second question, in a form another tool can read. A VEX statement names a vulnerability, a product (and optionally the subcomponent that contains it), and one of four statuses: not_affected, affected, fixed or under_investigation. A not_affected statement is expected to carry a justification, such as "vulnerable code not present" or "vulnerable code not in execute path".
Several formats carry VEX. OpenVEX is a minimal, standalone JSON format; CSAF includes a VEX profile used by many vendors' security advisories; and CycloneDX can embed VEX data alongside an SBOM.
How it is used in practice
A software supplier ships an SBOM with its product and publishes VEX statements for the vulnerabilities its customers' scanners will find in it. The customer imports both. Findings the supplier has marked not_affected, with a justification, drop out of the customer's queue, and the customer's analysts spend their time on what remains. Internally, teams use VEX in the other direction: the triage decisions one tool records are exported so that a second tool, or a downstream consumer, does not repeat the analysis.
Common pitfalls
- Confusing risk acceptance with "not affected". Deciding not to fix a vulnerability is a decision about priority. It is not evidence that the product is unaffected, and exporting it as
not_affectedmisleads every tool that acts on the difference. - Statements without justifications. A bare
not_affectedgives the reader nothing to check. - Mismatched identifiers. A statement written against a CVE ID will not match a finding recorded under a GitHub advisory alias unless the consuming tool resolves aliases.
- Staleness. A product rebuilt with a different dependency tree may no longer match the statement that was true of the previous build.
How TrustIvan relates to it
TrustIvan reads and writes OpenVEX 0.2.0 per asset. On export, each finding's lifecycle state maps to a status: open and reopened findings are under_investigation, triaged ones affected, resolved ones fixed, and a suppression becomes not_affected only when it carries one of the OpenVEX justifications. A suppression without one exports as affected with the risk-acceptance reason, never as not_affected. On import, a justified not_affected statement suppresses the matching finding through the same permission-checked lifecycle a person uses, with the document's ID, author and SHA-256 on the finding's timeline; an affected statement triages an open finding; fixed changes nothing, because only a rescan resolves a finding. Matching uses advisory aliases as well as the primary ID. See Exchange VEX documents.
Related terms
- SBOM (software bill of materials) A software bill of materials (SBOM) is a structured, machine-readable inventory of the packages, libraries and other components that make up a piece of software, with their versions and identifiers.
- CVE (Common Vulnerabilities and Exposures) A CVE (Common Vulnerabilities and Exposures) entry is a unique public identifier, such as CVE-2021-44228, for one publicly disclosed vulnerability, with a short description and references.
- Vulnerability management lifecycle The vulnerability management lifecycle is the repeating process of discovering vulnerabilities, assessing and prioritizing them, remediating or accepting them, and verifying the result, with each decision recorded.
- Reachability analysis Reachability analysis is the practice of determining whether a known vulnerability in a dependency can actually be exercised by an application, for example because the vulnerable function is called on a path the application executes.
- Software composition analysis (SCA) Software composition analysis (SCA) identifies the third-party and open-source components inside an application or artifact, then reports the known vulnerabilities and license obligations attached to each one.
Guides on VEX
- Container Vulnerability Management: From Scan to Verdict How container vulnerability management works end to end: a finding identity that survives rescans, a lifecycle, and a policy verdict a pipeline can act on.
- How to Prioritize Container Vulnerabilities with EPSS and KEV CVSS says how bad a vulnerability would be; EPSS and CISA KEV say whether anyone is exploiting it. How to join all three into one container fix order.
- Writing a VEX Statement: When "Not Affected" Is Defensible How to write an OpenVEX statement, what each not_affected justification needs as evidence, and the claims that look like VEX but are really risk acceptance.
On the platform: Finding lifecycle. All glossary terms