bug: HTML report does not include all CVEs correctly
Description
The HTML report generation does not correctly include all CVEs for a specific product in a specific version.
When comparing to vulnerability.json, the issues are not found in the "all" tab, nor the print mode (see below)
They are however present in the HTML report, but hidden under the "New" tab:
To reproduce
I can reproduce it on our codebase, but also with the attached vulnerability.json file:
-
cve-bin-tool -S high --detailed -l info --affected-versions -i vulnerability.json --offline -f html -o vulnerability.html
Expected behaviour:
All CVE's visible in print mode
Actual behaviour:
No CVE's visible in print mode
Version/platform info
Version of CVE-bin-tool( e.g. output of cve-bin-tool --version): Verified in cve-bin-tool 3.3 and 3.4
Installed from pypi or github? Pypi
Operating system: Linux and Mac
Python version (e.g. python3 --version): Python 3.12.3
Running in any particular CI environment we should know about? No
Anything else?
The file to recreate the issue, which was originally created with the command
cve-bin-tool -S high --detailed -l info --affected-versions mac_build/bin/* -f json,html -o vulnerability.html
Thanks. Not sure what's going on here, but that's definitely a bug.
I am looking into this issue.