fix(cve): notifications and tracker issues respect VEX not_affected and fixed (#555)
This commit was merged in pull request #555.
This commit is contained in:
1 parent
8d6be32c83
commit
42b25719ec
16 files changed
+901
-120
No files matched your search
@@ -19,7 +19,7 @@ A scan opens issues only for the findings it finds new, so a finding whose issue
|
||||
|
||||
### CVE issues (managed repositories)
|
||||
|
||||
For a repository from a managed git source, known vulnerabilities in its dependencies become issues too: one per package and CVE, labelled `cve`. A critical or high CVE opens one, and so does any CVE in CISA's Known Exploited Vulnerabilities catalog (rated at least high). A CVE whose EPSS percentile reaches `CVE_ISSUE_EPSS_PERCENTILE` (default `0.95`) is rated one step higher, so a medium one opens an issue as high. The issue names the KEV entry, the EPSS score with its attribution, and CISA's SSVC exploitation where known. When a complete scan no longer finds the CVE, the issue is closed; when it comes back, it is reopened.
|
||||
For a repository from a managed git source, known vulnerabilities in its dependencies become issues too: one per package and CVE, labelled `cve`. A critical or high CVE opens one, and so does any CVE in CISA's Known Exploited Vulnerabilities catalog (rated at least high). A CVE whose EPSS percentile reaches `CVE_ISSUE_EPSS_PERCENTILE` (default `0.95`) is rated one step higher, so a medium one opens an issue as high. The issue names the KEV entry, the EPSS score with its attribution, and CISA's SSVC exploitation where known. When a complete scan no longer finds the CVE, the issue is closed; when it comes back, it is reopened. A CVE with the VEX status `not_affected` or `fixed` gets no new issue. Its issue that is already open is closed only with `ISSUE_AUTOCLOSE=on`: with a comment naming the status and the justification, at most 20 per target and scan (the rest follow in the next scans). `ISSUE_AUTOCLOSE=dry_run` only logs, per target, how many issues it would close per VEX status, and changes nothing; the default is `off`. When the statement is withdrawn, a closed issue is reopened.
|
||||
|
||||
## Issues List
|
||||
|
||||
|
||||
@@ -48,6 +48,13 @@ removed or updated), it is marked fixed and "Stated by" shows **Scan**. A
|
||||
"Not affected" or "Fixed" stated by a person is never changed by a scan. If
|
||||
the vulnerability comes back, the scan withdraws its "Fixed".
|
||||
|
||||
A vulnerability that is "Not affected" or "Fixed" (stated by a person, by the
|
||||
scan or in an imported VEX document) raises no notification and gets no issue
|
||||
in the repository's tracker; with `ISSUE_AUTOCLOSE=on` an open issue for
|
||||
it is closed with a comment naming the status and the reason. If the statement is withdrawn, it notifies
|
||||
and its issue is reopened as before. Notifications raised before the
|
||||
statement stay in the list until they are dismissed.
|
||||
|
||||
## Downloading
|
||||
|
||||
**Download OpenVEX** and **Download CycloneDX VEX** save the target's
|
||||
|
||||
@@ -50,6 +50,14 @@ zeigt dann **Prüfung**. Eine Aussage „Nicht betroffen“ oder „Behoben“,
|
||||
eine Person gemacht hat, ändert die Prüfung nie. Taucht die Schwachstelle
|
||||
wieder auf, nimmt die Prüfung ihr „Behoben“ zurück.
|
||||
|
||||
Eine Schwachstelle mit „Nicht betroffen“ oder „Behoben“ (von einer Person,
|
||||
der Prüfung oder aus einem importierten VEX-Dokument) löst keine
|
||||
Benachrichtigung aus und bekommt kein Issue im Tracker des Repositorys; mit
|
||||
`ISSUE_AUTOCLOSE=on` wird ein offenes Issue dazu mit einem Kommentar
|
||||
geschlossen, der Status und Begründung nennt. Wird die Aussage zurückgenommen, benachrichtigt sie wieder
|
||||
und ihr Issue wird wieder geöffnet. Benachrichtigungen von vor der Aussage
|
||||
bleiben in der Liste, bis sie verworfen werden.
|
||||
|
||||
## Herunterladen
|
||||
|
||||
**OpenVEX herunterladen** und **CycloneDX VEX herunterladen** speichern die
|
||||
|
||||
Reference in new issue
Block a user