feat(cve): the daily monitor re-checks NVD/CPE-only components incrementally (#558)
This commit was merged in pull request #558.
This commit is contained in:
1 parent
ba499d14e4
commit
57b5aaeb97
12 files changed
+1772
-117
No files matched your search
+21
-2
@@ -96,8 +96,27 @@ compared with the version in use. OSV publishes no advisories for CocoaPods, so
|
||||
pods are not matched. Components that could not be matched are listed on the
|
||||
scan run under **CVE-Abgleich unvollständig**.
|
||||
|
||||
Known components are re-checked daily, so a CVE published against an unchanged
|
||||
component still raises an alert.
|
||||
Known components are re-checked between scans (the CVE monitor, hourly by
|
||||
default, `CVE_MONITOR_SCHEDULE`), so a CVE published against an unchanged
|
||||
component still raises an alert:
|
||||
|
||||
- **Components with a package identifier** are asked of OSV again.
|
||||
- **Components only NVD knows** (Yocto recipes by their CPE, the libraries
|
||||
found by their headers, the CODESYS runtime) are re-checked incrementally:
|
||||
NVD is asked which CVEs it published or changed since the last run, and
|
||||
those are matched against the components with the scan's rules (product,
|
||||
version range). A few requests a day cover every tenant. The requests are
|
||||
paced to NVD's rate limit (with the deployment's NVD API key 50 per 30
|
||||
seconds, without 5), and a run asks for at most 10 minutes; what it did not
|
||||
reach, the next run reads, so no change is skipped. The first run reads the
|
||||
last 7 days. `NVD_MONITOR=off` turns this part off (on by default).
|
||||
|
||||
A match raises the same CVE alert as a scan's, at most one per CVE and
|
||||
target. A vulnerability that is "Not affected" or "Fixed" (see
|
||||
[Assessing vulnerabilities](./vex-en.md)) raises no notification, and a
|
||||
critical or high one of a managed repository gets its tracker issue as after
|
||||
a scan. The monitor only adds: alerts no longer found are resolved by the next
|
||||
complete scan.
|
||||
|
||||
## Packages Tab
|
||||
|
||||
|
||||
+5
-2
@@ -140,8 +140,11 @@ without a release version, a failed lookup, and recipes the scan's NVD time
|
||||
budget (10 minutes) did not reach are listed under **CVE-Abgleich
|
||||
unvollständig**. The requests are paced to NVD's rate limit: 50 per 30 seconds
|
||||
with the deployment's NVD API key, 5 without; an answer from the last 6 hours
|
||||
is reused, so the next scan gets further. The daily CVE re-check covers OSV
|
||||
only and does not yet re-match recipes in NVD; a scan does.
|
||||
is reused, so the next scan gets further. Between scans the CVE monitor
|
||||
re-checks the recipes too (see
|
||||
[Known vulnerabilities](/guide/sbom#known-vulnerabilities)): a CVE NVD
|
||||
publishes or changes for a recipe's product raises an alert without a new
|
||||
scan.
|
||||
|
||||
**What the recipe says about a CVE becomes its VEX statement**, made by the
|
||||
scan, with the recipe (or patch) and its text as the impact statement, so it is
|
||||
|
||||
Reference in new issue
Block a user