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
@@ -13,6 +13,10 @@ When a scan discovers new findings, the following happens automatically:
|
||||
|
||||
This means every actionable finding gets tracked in the same system your developers already use.
|
||||
|
||||
### 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.
|
||||
|
||||
## Issues List
|
||||
|
||||
Open **Tickets** (Issues) in the sidebar to see all tracker issues across your targets.
|
||||
|
||||
@@ -123,6 +123,25 @@ components of all targets, 50 per page.
|
||||
Click the CVE count to expand the details: the vulnerability ID, the source
|
||||
database, the severity where known, and **Hinweis ansehen →** (View advisory).
|
||||
|
||||
A component with a CVE that is exploited in the wild carries a red **KEV**
|
||||
marker next to its count. In the details, each CVE shows what is known about
|
||||
its exploitation:
|
||||
|
||||
- **Aktiv ausgenutzt (KEV)** (Actively exploited): the CVE is in CISA's
|
||||
[Known Exploited Vulnerabilities](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)
|
||||
catalog; the tooltip says since when, and whether it is known from
|
||||
ransomware campaigns.
|
||||
- **EPSS 12.3 % · P97**: FIRST's [EPSS](https://www.first.org/epss) estimate
|
||||
that the CVE is exploited in the next 30 days, and its percentile among all
|
||||
scored CVEs. The source is credited under the details.
|
||||
- **SSVC-Ausnutzung (CISA Vulnrichment)**: CISA's SSVC decision on
|
||||
exploitation (`none`, `poc`, `active`), where CISA has rated the CVE.
|
||||
|
||||
These are looked up once a day; see
|
||||
[KEV, EPSS and Vulnrichment](/reference/tools#kev-epss-and-vulnrichment-exploitation).
|
||||
In a managed repository, a CVE in KEV always opens an issue, and one with a
|
||||
high EPSS percentile is rated one step higher (see [Issues](/guide/issues)).
|
||||
|
||||
## Licenses Tab
|
||||
|
||||
The **Lizenzen** tab summarises the licenses.
|
||||
|
||||
@@ -134,6 +134,24 @@ Matches are stored as CVE alerts with CVSS scores and re-checked hourly, so newl
|
||||
|
||||
Only package URLs (purl), CVE ids and CPE product prefixes are sent. Both sources are reached through the net guard like every other outbound request (see [Outbound connections](#outbound-connections-egress)).
|
||||
|
||||
## KEV, EPSS and Vulnrichment -- Exploitation
|
||||
|
||||
Every CVE alert is enriched with what is known about its exploitation, after the CVE lookup and before the alerts are stored (`pipeline/cve_enrichment.rs`):
|
||||
|
||||
| Source | What it says | Licence | How it is read |
|
||||
|---|---|---|---|
|
||||
| [CISA Known Exploited Vulnerabilities (KEV)](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) | the CVE is exploited in the wild; the date CISA added it; known use in ransomware campaigns | CC0 1.0 | the whole catalog (one JSON file, about 2 MB), at most once a day |
|
||||
| [FIRST EPSS](https://www.first.org/epss) | the probability that the CVE is exploited in the next 30 days, and its percentile | free to use; FIRST asks for attribution | FIRST's API, up to 50 CVE ids per request |
|
||||
| [CISA Vulnrichment](https://github.com/cisagov/vulnrichment) | the SSVC decision point *Exploitation* (`none`, `poc`, `active`) | CC0 1.0 | the CVE's record in the GitHub repository (`<year>/<n>xxx/CVE-….json`); a CVE CISA has not rated is a 404 |
|
||||
|
||||
The answers are attached to the alert (`exploitation`) and to the SBOM's reference to the same advisory, so the SBOM page, the evidence pack (`cve-alerts.json`), the MCP tools and the LLM triage see them. In the CVE issues of a managed repository (see [Issues](/guide/issues)) a CVE in KEV always opens an issue, rated at least high, and one whose EPSS percentile reaches `CVE_ISSUE_EPSS_PERCENTILE` (default `0.95`; `off` leaves EPSS out) is rated one step higher: a medium CVE then opens an issue as high. A finding that names a CVE gets the same facts in its triage prompt.
|
||||
|
||||
**Cache:** answers are kept for a day in the admin database (`<prefix>__admin`), shared by all tenants: `cve_exploitation` (one row per CVE id) and `cisa_kev` (the catalog). They are public data keyed by CVE id; nothing of the tenant is stored. A source that does not answer leaves its part unknown, is not cached and is asked again on the next scan; it never fails the scan. One scan looks up at most 500 uncached CVEs (8 Vulnrichment reads at once, 2 minutes in total).
|
||||
|
||||
**Attribution:** wherever an EPSS score is shown (SBOM page, CVE issues) it is credited: *EPSS: FIRST.org, Exploit Prediction Scoring System, https://www.first.org/epss*.
|
||||
|
||||
`CVE_EXPLOIT_LOOKUP=false` keeps the agent from contacting the three sources.
|
||||
|
||||
## nuget.org -- NuGet Licenses
|
||||
|
||||
Licenses of NuGet packages that no `.nuspec` in the tree gives are read from the [nuget.org registration API](https://learn.microsoft.com/nuget/api/registration-base-url-resource) (`api.nuget.org`). Only the package id and version are sent, never for an id a `nuget.config` routes to another feed (see [.NET projects](/guide/dotnet-en)). The lookup is bounded per scan (8 requests at once, 10 s per request, 60 s and 300 uncached packages in total); answers are cached for all tenants. Set `NUGET_LICENSE_LOOKUP=false` to keep the agent from contacting nuget.org.
|
||||
@@ -248,6 +266,9 @@ Every connection the agent opens, in one place. **Guarded** means: the HTTP clie
|
||||
|---|---|---|---|---|---|
|
||||
| `api.osv.dev` (`/v1/querybatch`, `/v1/vulns/{id}`) | purls of SBOM components, advisory ids | `pipeline/cve.rs` | guarded | 10 s per request, 5 s connect, body ≤ 16 MiB, 8 advisory reads at once | none (CVE stage) |
|
||||
| `services.nvd.nist.gov` (`/rest/json/cves/2.0`) | CVE ids (CVSS score), CPE product prefixes (CODESYS, embedded libraries) | `pipeline/cve.rs`, `pipeline/nvd_cpe.rs` | guarded | 30 s per request, 5 s connect, body ≤ 16 MiB, 3 retries after 6/12/24 s, answers cached 6 h | `NVD_API_KEY` (optional, raises NVD's rate limit) |
|
||||
| `www.cisa.gov` (`/sites/default/files/feeds/known_exploited_vulnerabilities.json`) | nothing (a GET of the public catalog) | `pipeline/cve_enrichment.rs` | guarded | 10 s per request, 5 s connect, body ≤ 16 MiB; at most once a day (cached for all tenants) | `CVE_EXPLOIT_LOOKUP=false` |
|
||||
| `api.first.org` (`/data/v1/epss`) | CVE ids of the alerts | `pipeline/cve_enrichment.rs` | guarded | as above, 50 CVE ids per request, 500 uncached CVEs and 2 min per scan; answers cached a day | `CVE_EXPLOIT_LOOKUP=false` |
|
||||
| `raw.githubusercontent.com` (`/cisagov/vulnrichment/develop/…`) | CVE ids of the alerts (in the path) | `pipeline/cve_enrichment.rs` | guarded | as above, 8 at once | `CVE_EXPLOIT_LOOKUP=false` |
|
||||
| `api.nuget.org` (registration, catalog) | NuGet package ids and versions, not for ids a `nuget.config` routes to another feed | `pipeline/sbom/nuget_license.rs` | guarded | 10 s per request, 5 s connect, body ≤ 2 MiB, 8 at once, 60 s and 300 uncached packages per scan | `NUGET_LICENSE_LOOKUP=false` |
|
||||
| `registry.npmjs.org` | npm package names and versions, not for a registry or scope `.npmrc`/`.yarnrc.yml` routes elsewhere | `pipeline/sbom/registry_license.rs` | guarded | as nuget.org (bounds per scan; answers cached for all tenants) | `REGISTRY_LICENSE_LOOKUP=false` |
|
||||
| `repo1.maven.org`, `dl.google.com` (POMs) | Maven group, artifact and version (and parent POMs), not when the build names a non-public repository | `pipeline/sbom/registry_license.rs` | guarded | as nuget.org | `REGISTRY_LICENSE_LOOKUP=false` |
|
||||
|
||||
@@ -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