Glossary · Vulnerabilities and prioritization

VEX (Vulnerability Exploitability eXchange)

VEX (Vulnerability Exploitability eXchange) is a machine-readable statement of whether a specific product is affected by a specific known vulnerability, with a status and, when the answer is no, a justification.

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_affected misleads every tool that acts on the difference.
  • Statements without justifications. A bare not_affected gives 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

Guides on VEX

On the platform: Finding lifecycle. All glossary terms

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.