Every CVE alert, and the SBOM's reference to the same advisory, now says whether the CVE is exploited: its entry in CISA's KEV catalog (date added, known ransomware use), FIRST's EPSS score and percentile, and the SSVC exploitation decision of CISA's Vulnrichment. - pipeline/cve_enrichment.rs reads KEV (one JSON, at most daily), EPSS (FIRST API, 50 CVE ids per request) and Vulnrichment (per-CVE record on raw.githubusercontent.com, a 404 is an answer) through guarded_net. Only CVE ids leave the agent. Bounded: 500 uncached CVEs, 8 at once, 2 min. - Answers are cached a day for all tenants in <prefix>__admin (cve_exploitation per CVE, cisa_kev for the catalog), TTL index like the NuGet licence cache. A failed source stays unknown, is not cached and never fails the scan. CVE_EXPLOIT_LOOKUP=false turns it off. - Runs in the scan (after the CVE stage), the PLC control-app path and the hourly CVE monitor (which now refreshes an existing alert's exploitation). - CVE issues (#452): a KEV CVE always opens an issue, rated at least high; an EPSS percentile at or above CVE_ISSUE_EPSS_PERCENTILE (default 0.95) rates it one step higher. The body names KEV, EPSS (with FIRST's credit) and SSVC. - LLM triage: a finding that names a CVE gets its exploitation in the prompt. No scanner sets Finding.cve today, so this is a hook for now. - Dashboard: "Aktiv ausgenutzt (KEV)" and "EPSS … · P…" badges on the SBOM page's CVE cards, a KEV marker on the row, SSVC line, EPSS attribution. - Docs: tools.md section and egress rows, SBOM and issues guides, staging check 18. Tests run on trimmed real fixtures and a loopback stand-in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit was merged in pull request #500.
This commit is contained in:
1 parent
ece992da32
commit
f170e7cfe5
25 files changed
+1749
-31
No files matched your search
@@ -331,6 +331,30 @@ target with history (findings, at least one marked by a person, issues).
|
||||
finding no longer close and reopen it and its issue. A change to the flagged
|
||||
line itself still does.
|
||||
|
||||
### 19. #493 KEV, EPSS and Vulnrichment on CVE alerts
|
||||
|
||||
- **Do:** scan a target with a known exploited dependency, e.g. a Maven
|
||||
project pinning `org.apache.logging.log4j:log4j-core:2.14.1` (Log4Shell,
|
||||
CVE-2021-44228) next to `com.google.code.gson:gson:2.8.8`; then scan it
|
||||
again within the hour.
|
||||
- **Expect:** **SBOM** shows a red **KEV** marker next to log4j-core's CVE
|
||||
count; expanded, CVE-2021-44228's card has **Aktiv ausgenutzt (KEV)**
|
||||
(tooltip: since 2021-12-10, ransomware use), **EPSS … · P100** and
|
||||
"SSVC-Ausnutzung (CISA Vulnrichment): active", with the FIRST EPSS credit
|
||||
under the cards. gson's CVE has an EPSS badge and no KEV badge. The evidence
|
||||
pack's `cve-alerts.json` carries `exploitation` on each alert. On a managed
|
||||
repository, log4j's CVE has an issue whose body names KEV, EPSS (with the
|
||||
credit) and SSVC.
|
||||
- **Log:** `CVE exploitation (KEV, EPSS, SSVC)` with `counts` (`cves`,
|
||||
`cached`, `kev`, `epss`, `failed: []`); the second scan reports every CVE
|
||||
as `cached` and makes no request to the three sources. Mongo:
|
||||
`<prefix>__admin.cve_exploitation` has one row per CVE,
|
||||
`<prefix>__admin.cisa_kev` one row.
|
||||
- **Switch:** `CVE_EXPLOIT_LOOKUP=false` stops the lookups;
|
||||
`CVE_ISSUE_EPSS_PERCENTILE` (default `0.95`, `off`) sets the EPSS step-up.
|
||||
- **[visible]** KEV and EPSS badges on the SBOM page; CVE issues for KEV
|
||||
CVEs whatever their severity.
|
||||
|
||||
## After the pass
|
||||
|
||||
- The nightly job on `main` is green with the new mobile targets.
|
||||
|
||||
Reference in new issue
Block a user