Skip to content

fix: need cvss metrics parser update #4370

@matthew-renodin-bh

Description

@matthew-renodin-bh

Description

[17:09:53] INFO cve_bin_tool.CVEDB - Adding 886 CVE entries nvd_api.py:187
Downloading Feeds from NVD... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:01
[17:09:54] INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-28319
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-26306
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-27397
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-35966
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-36915
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-40972
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-41042
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-42114

To reproduce

Steps to reproduce the behaviour:

  1. set your NVD_API_KEY
  2. run cve-bin-tool /app/ -f html -o report/reportx

Expected behaviour:
Actual behaviour:
Fetching incremental metadata from NVD... ━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:--
[17:09:53] INFO cve_bin_tool.CVEDB - Adding 886 CVE entries nvd_api.py:187
Downloading Feeds from NVD... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:01
[17:09:54] INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-28319
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-26306
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-27397
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-35966
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-36915
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-40972
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-41042
INFO cve_bin_tool - Unknown CVSS metrics field nvd_source.py:257
CVE-2024-42114

Version/platform info

Version of CVE-bin-tool( e.g. output of cve-bin-tool --version):
3.3

Installed from pypi or github?
pypi

Operating system: Linux/Windows (other platforms are unsupported but feel free to report issues anyhow)

  • On Linux (or Windows Subsystem for Linux) you can run uname -a
  • On Windows you can run systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
    Python version (e.g. python3 --version):
    Python 3.10.14

Running in any particular CI environment we should know about? (e.g. Github Actions)

Anything else?

This is a data difference. The code is not handling the newest version from the data.

Feel free to add any other context here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions