ENISA and BSI work with CVE ids. OpenVEX and the CycloneDX VEX named a vulnerability by the id its alert was found under, so a GitHub advisory showed up as GHSA-… even when its CVE was known.
Changes
OpenVEX: vulnerability.name = CVE, GHSA (and other ids) in aliases.
CycloneDX VEX + CycloneDX SBOM: id = CVE with source NVD (+ URL); the GHSA is in references (source GitHub Security Advisories). VulnRef gets aliases (serde default, filled from OSV details) so the SBOM export can resolve the CVE. In the SBOM, vulnerabilities now merge by CVE across scanners (OSV GHSA and NVD CVE are a single entry).
CSAF: was already keyed on the CVE. ids[].system_name is now "GitHub Security Advisories" instead of "GHSA".
Dedup: alerts of one CVE in one component (GHSA alert + CVE alert) produce one statement in OpenVEX, CycloneDX and CSAF. The status comes from the alert with an explicit statement (latest wins), otherwise from an open alert, otherwise from the first. Before this change CSAF could list one product under two statuses.
GHSA only (no CVE known): unchanged, the advisory id stays the id.
One strict is_cve / primary_id / advisory_source in compliance-core::models::cve replaces the copies in csaf_docs and cve_enrichment. CveAlert::cve() now uses the strict check.
Storage is unchanged: VEX statements are set by alert _id, and the lifecycle filters on the stored cve_id.
Docs: docs/guide/vex.md, vex-en.md, sbom.md.
Tests
New: the_cve_is_the_vulnerability_id_and_the_github_advisory_an_alias (CVE+GHSA, CVE only, GHSA only across all three formats), a_cve_found_as_cve_and_as_github_advisory_in_one_component_is_one_statement, the_cyclonedx_sbom_lists_a_vulnerability_under_its_cve_once, plus models::cve unit tests. All of them validate against the schemas.
Updated: the CSAF test now pins the new system_name.
ENISA and BSI work with CVE ids. OpenVEX and the CycloneDX VEX named a vulnerability by the id its alert was found under, so a GitHub advisory showed up as `GHSA-…` even when its CVE was known.
## Changes
- **OpenVEX**: `vulnerability.name` = CVE, GHSA (and other ids) in `aliases`.
- **CycloneDX VEX + CycloneDX SBOM**: `id` = CVE with `source` NVD (+ URL); the GHSA is in `references` (`source` GitHub Security Advisories). `VulnRef` gets `aliases` (serde default, filled from OSV details) so the SBOM export can resolve the CVE. In the SBOM, vulnerabilities now merge by CVE across scanners (OSV GHSA and NVD CVE are a single entry).
- **CSAF**: was already keyed on the CVE. `ids[].system_name` is now "GitHub Security Advisories" instead of "GHSA".
- **Dedup**: alerts of one CVE in one component (GHSA alert + CVE alert) produce one statement in OpenVEX, CycloneDX and CSAF. The status comes from the alert with an explicit statement (latest wins), otherwise from an open alert, otherwise from the first. Before this change CSAF could list one product under two statuses.
- **GHSA only** (no CVE known): unchanged, the advisory id stays the id.
- One strict `is_cve` / `primary_id` / `advisory_source` in `compliance-core::models::cve` replaces the copies in `csaf_docs` and `cve_enrichment`. `CveAlert::cve()` now uses the strict check.
- Storage is unchanged: VEX statements are set by alert `_id`, and the lifecycle filters on the stored `cve_id`.
- Docs: `docs/guide/vex.md`, `vex-en.md`, `sbom.md`.
## Tests
- New: `the_cve_is_the_vulnerability_id_and_the_github_advisory_an_alias` (CVE+GHSA, CVE only, GHSA only across all three formats), `a_cve_found_as_cve_and_as_github_advisory_in_one_component_is_one_statement`, `the_cyclonedx_sbom_lists_a_vulnerability_under_its_cve_once`, plus `models::cve` unit tests. All of them validate against the schemas.
- Updated: the CSAF test now pins the new `system_name`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
ENISA and BSI work with CVE ids. OpenVEX and the CycloneDX VEX named a
vulnerability by the id its alert was found under, so a GitHub advisory
appeared as GHSA-... even when its CVE was known.
- OpenVEX: vulnerability.name is the CVE, the GHSA and other ids are aliases.
- CycloneDX VEX and SBOM: id is the CVE with source NVD, the GHSA a reference
to GitHub Security Advisories. VulnRef now keeps OSV's aliases so the SBOM
export can do the same.
- CSAF: already keyed on the CVE; ids now name GitHub Security Advisories.
- Alerts of one CVE in one component (GHSA and CVE alerts) are one statement
in all three VEX formats; an explicit statement wins, then an open alert.
- A vulnerability without a CVE keeps its advisory id as before.
- One strict is_cve in compliance-core replaces the CSAF and enrichment copies.
Stored alerts and VEX statements are unchanged (keyed by alert _id / cve_id).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang
merged commit 44b2f38841 into main2026-10-09 13:22:06 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
ENISA and BSI work with CVE ids. OpenVEX and the CycloneDX VEX named a vulnerability by the id its alert was found under, so a GitHub advisory showed up as
GHSA-…even when its CVE was known.Changes
vulnerability.name= CVE, GHSA (and other ids) inaliases.id= CVE withsourceNVD (+ URL); the GHSA is inreferences(sourceGitHub Security Advisories).VulnRefgetsaliases(serde default, filled from OSV details) so the SBOM export can resolve the CVE. In the SBOM, vulnerabilities now merge by CVE across scanners (OSV GHSA and NVD CVE are a single entry).ids[].system_nameis now "GitHub Security Advisories" instead of "GHSA".is_cve/primary_id/advisory_sourceincompliance-core::models::cvereplaces the copies incsaf_docsandcve_enrichment.CveAlert::cve()now uses the strict check._id, and the lifecycle filters on the storedcve_id.docs/guide/vex.md,vex-en.md,sbom.md.Tests
the_cve_is_the_vulnerability_id_and_the_github_advisory_an_alias(CVE+GHSA, CVE only, GHSA only across all three formats),a_cve_found_as_cve_and_as_github_advisory_in_one_component_is_one_statement,the_cyclonedx_sbom_lists_a_vulnerability_under_its_cve_once, plusmodels::cveunit tests. All of them validate against the schemas.system_name.🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p