What is VEX and how does it relate to SBOMs?

IntermediateConceptSBOM
Answer

Short answer

VEX (Vulnerability Exploitability eXchange) is a statement that says whether a product is actually affected by a specific vulnerability — not_affected, affected, fixed or under_investigation — with a justification. It complements an SBOM: the SBOM says a component is present; VEX says whether the CVE matters for this product.

Example (CycloneDX VEX, simplified)

{
  "vulnerabilities": [{
    "id": "CVE-2023-12345",
    "affects": [{ "ref": "pkg:maven/org.example/[email protected]" }],
    "analysis": {
      "state": "not_affected",
      "justification": "code_not_reachable",
      "detail": "The vulnerable DTD processing feature is disabled in our configuration."
    }
  }]
}

Why it matters

Scanners report many CVEs that aren't exploitable in context. VEX lets vendors and internal teams communicate that analysis in a standard way, so scanners and customers can suppress false alarms.

trivy image --vex vex.cdx.json shop-api:1.4.0      # Trivy honours VEX statements

What to say in the interview

"VEX states whether a product is actually affected by a CVE, with a justification such as code not reachable. SBOM says the component exists; VEX says if the vulnerability matters. Trivy and Dependency-Track can consume VEX to cut false positives."

All Security Tools questions Roadmap: SBOM — software bill of materials

More on SBOM