Skip to content

cve-check: fix incorrect CVE assessments and runtime warnings - cover letter

Het Patel -X (hetpat - E INFOCHIPS PRIVATE LIMITED at Cisco) openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cve-check: encode affected product/vendor in CVE_STATUSmeta/classes/cve-check.bbclass meta/lib/oe/cve_check.py+42 -212 replies
2/4cve-check: annotate CVEs during analysismeta/classes/cve-check.bbclass meta/lib/oe/cve_check.py+142 -1072 replies
3/4cve-check-map: add new statusesmeta/conf/cve-check-map.conf+9 -00 replies
4/4cve-check: fix debug messagemeta/classes/cve-check.bbclass+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OE-core] [scarthgap] [PATCH v1 0/4] cve-check: fix incorrect CVE assessments and runtime warnings - cover letter

From: Het Patel <[email protected]>

The patches address the following bugs:

1. Incomplete CVE Assessment Details: Currently, the detail field is missing for approximately 81% of entries, rendering reports unreliable for auditing. These changes ensure that the rationale for a "Patched" or "Unpatched" assessment is properly recorded, allowing for a clear distinction between version-based assessments and missing data.

2. Runtime Warnings: Corrects four instances where debug calls were missing the required log level parameter. This change eliminates the runtime warnings that currently trigger during every CVE scan.

Testing:
- Applied cleanly to the current scarthgap HEAD.
- Verified via a full CVE scan.
- Confirmed that all existing CVE statuses are preserved with no regressions observed.

Het Patel (4):
cve-check: encode affected product/vendor in CVE_STATUS
cve-check: annotate CVEs during analysis
cve-check-map: add new statuses
cve-check: fix debug message

 meta/classes/cve-check.bbclass | 246 +++++++++++++++++++++--------------------
 meta/conf/cve-check-map.conf   |   9 +
 meta/lib/oe/cve_check.py       |  74 +++++++++---
 3 files changed, 197 insertions(+), 132 deletions(-)