Open
Description
Description
v3.4 of the tool and have parameters to tell it to make a new json/vex file. The published and updated values it puts in for each CVE found is just the date this report was run. Shouldnt it be the published and updated values from the CVE itself?
To reproduce
Steps to reproduce the behavior:
- run v3.4 with this command: cve-bin-tool -i test_SBOM.csv --vex-file test_cve-bin-tool_triageFile-2.json -f csv,html --vex-output triage0923b.json
- look at the new output file "triage0923b.json" and in each CVE listing the published and updated fields are just the time the tool was run. Even when we put in the correct values in the input vex/json file, the output vex/json file overwrites them with the current date/time.
- v3.3 used to just put in the values "NOT_KNOWN" which wasnt good either.
Expected behavior: add the published and updated dates from the CVE itself - each CVE has this data
Actual behavior: adds just the current date/time the tool was run to these fields for every CVE
Version/platform info
Version of CVE-bin-tool: v3.4
Installed from pypi or github? pypi
Operating system: Windows
- On Windows you can run
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
Python version: v3.12.0
Running in any particular CI environment we should know about? No
Anything else?
Feel free to add any other context here.
output triage file that I just ran attached along with a short screenshot if the diffs between 3.3 (which just put in NOT_FOUND) and 3.4.