Description
Description
Hello Team,
I encountered an issue when attempting to update the CVE database or scan a file/directory using the cve-bin-tool. The process terminates with a "Killed" error, as shown in the output below:
[test@f961efb782bb ~]$ cve-bin-tool --disable-data-source EPSS -u now
[03:45:39] INFO cve_bin_tool - CVE Binary Tool v3.4 cli.py:624
INFO cve_bin_tool - This product uses the NVD API but is not cli.py:625
endorsed or certified by the NVD.
INFO cve_bin_tool - For potentially faster NVD downloads, cli.py:628
mirrors are available using -n json-mirror
INFO cve_bin_tool - Disabling data source EPSS cli.py:771
[03:45:49] WARNING cve_bin_tool.CVEDB - Updating cachedir cvedb.py:652
/home/test/.cache/cve-bin-tool
[03:45:52] INFO cve_bin_tool - Getting NVD CVE data... nvd_source.py:389
INFO cve_bin_tool - Getting GitLab Advisory Database gad_source.py:86
CVEs...
INFO cve_bin_tool - Getting RedHat CVEs... redhat_source.py:69
INFO cve_bin_tool - Getting PURL2CPE data... purl2cpe_source.py:36
Downloading CVEs... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:07
[03:49:15] INFO cve_bin_tool - Adding 35170 RedHat CVE entries redhat_source.py:136
[03:51:30] INFO cve_bin_tool - Getting Open Source Vulnerability osv_source.py:161
Database CVEs...
Killed
The command terminates unexpectedly after downloading and processing some of the CVE data.
To reproduce
Steps to reproduce the behaviour:
Run the following command to update the CVE database:
cve-bin-tool --disable-data-source EPSS -u now
Expected behaviour: The command should complete the update process or scan successfully without terminating unexpectedly.
Actual behaviour: The command terminates unexpectedly after downloading and processing some of the CVE data.
Version/platform info
Version of CVE-bin-tool( e.g. output of cve-bin-tool --version
): 3.4
Installed from pypi or github? pypi
Operating system: Linux/x86-64, linux/ppc64le
Python version (e.g. python3 --version
): Python 3.11
Running in any particular CI environment we should know about? NA
Anything else?
Is there a known solution for this issue? Could this be related to resource limitations or another underlying problem? Any guidance or suggestions would be appreciated.
Thank you!