Skip to content

fix: missing CVEs by switching to cve 2.0 (#5172) #5265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gluesmith2021
Copy link
Contributor

@gluesmith2021 gluesmith2021 commented Aug 8, 2025

Most CVE prior to 2018 are missing from cve 1.1 data, and this can be very problematic when retrieving CVEs for older software.

Issue #5172 seemed stale, so I went on fix it. CVE 2.0 parsing/formatting was already implemented for api2 NVD data retrieval (although the latter seems broken now for an unrelated reason: 403 forbidden on dashboard/statistics. This is out of scope for this PR). Therefore, it looks like minimal changes were required to make the switch. Namely, checking for "rejected" CVE didn't work with any rejected CVEs I've seen so far, so I used what seemed to be the proper field to check.

Updated tests in this PR seem to run fine with LONG_TESTS=1 and EXTERNAL_SYSTEM=1.

I'm not sure about:

  • what else should be tested to "prove" the switch to 2.0 is correct
  • what are the plans for the 1.1 related code (1.1 code was left there for now)

@gluesmith2021
Copy link
Contributor Author

Note: I won't be available for comments/replies/changes until later this month. Sorry in advance for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant