fix(vex): CVE is the primary vulnerability id in VEX, CSAF and CycloneDX, GHSA an alias (#542)
This commit was merged in pull request #542.
This commit is contained in:
1 parent
69a4c2084a
commit
44b2f38841
15 files changed
+531
-157
No files matched your search
+7
-2
@@ -233,7 +233,9 @@ Prüfwerk has the data, BSI TR-03183-2 v2.1:
|
||||
`acknowledgement: declared`: they are what the package declares, not a
|
||||
licence Prüfwerk concluded.
|
||||
- The known vulnerabilities are listed at the top level, each naming the
|
||||
components it affects.
|
||||
components it affects. A vulnerability is listed once under its CVE
|
||||
(`source` NVD) when one is known, with its GitHub advisory under
|
||||
`references`; one without a CVE under the advisory's id.
|
||||
|
||||
## VEX: the status of each vulnerability
|
||||
|
||||
@@ -269,7 +271,10 @@ checked against their official schemas, and are part of the evidence pack
|
||||
the purl it had when the alert was found, so a `fixed` statement still
|
||||
matches the SBOM version that contained the component after it was updated
|
||||
or removed. Alerts resolved before Prüfwerk recorded that purl name it
|
||||
`pkg:generic/<name>@<version>`. CycloneDX names the statuses
|
||||
`pkg:generic/<name>@<version>`. A vulnerability is named by its CVE when one
|
||||
is known; its GitHub advisory is an alias (OpenVEX `aliases`, CycloneDX
|
||||
`references`, CSAF `ids`), and alerts of the same CVE in the same component
|
||||
are one statement. CycloneDX names the statuses
|
||||
differently:
|
||||
|
||||
| OpenVEX | CycloneDX `analysis.state` / `justification` |
|
||||
|
||||
@@ -55,6 +55,13 @@ 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](./sbom.md#vex-the-status-of-each-vulnerability).
|
||||
|
||||
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
|
||||
|
||||
@@ -58,6 +58,14 @@ liegen auch im Nachweispaket (`vex.openvex.json`, `vex.cdx.json`). Formate,
|
||||
Zuordnung der Begriffe und API: siehe
|
||||
[Stückliste (SBOM)](./sbom.md#vex-the-status-of-each-vulnerability).
|
||||
|
||||
In allen Formaten (OpenVEX, CycloneDX, CSAF) heißt eine Schwachstelle nach
|
||||
ihrer CVE, wenn eine bekannt ist, wie bei ENISA und BSI üblich. Die
|
||||
GitHub-Advisory-Kennung (`GHSA-…`) steht daneben: in OpenVEX unter
|
||||
`aliases`, in CycloneDX unter `references`, in CSAF unter `ids`. Eine
|
||||
Schwachstelle ohne CVE behält die Kennung des Advisorys. Wurde dieselbe CVE
|
||||
in einer Komponente als CVE und als GitHub-Advisory gefunden, ist sie eine
|
||||
Aussage.
|
||||
|
||||
## CSAF-Entwurf
|
||||
|
||||
**CSAF-Entwurf herunterladen** speichert dieselben Aussagen als CSAF 2.0
|
||||
|
||||
Reference in new issue
Block a user