Skip to content
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

NVD CVE Cache years 1999-2001 #265

Closed
jeremylong opened this issue Feb 10, 2025 · 7 comments · May be fixed by #268
Closed

NVD CVE Cache years 1999-2001 #265

jeremylong opened this issue Feb 10, 2025 · 7 comments · May be fixed by #268

Comments

@jeremylong
Copy link
Owner

Due to the recent change in how CVE data is captured - the cache no longer has CVE data from 1999-2001. While this may be minor as these CVEs are so old the cache mechanism should be updated to download these as well.

@jeremylong
Copy link
Owner Author

@EugenMayer I noticed this issue as well.

@jeremylong
Copy link
Owner Author

Specifically, items like https://nvd.nist.gov/vuln/detail/CVE-1999-0007

@EugenMayer
Copy link
Contributor

EugenMayer commented Feb 10, 2025

Not sure why this is an issue you mention? The mirror, also the old code, was downloading CVEs starting from 2002, so if that has been an issue, it has been one in the past. So how Is this related to the new code?

it can be easily fixed by changing https://github.com/jeremylong/Open-Vulnerability-Project/blob/main/vulnz/src/main/java/io/github/jeremylong/vulnz/cli/commands/CveCommand.java#L73

or we introduce a variable that defaults to 2002 and can be changed (to define the year to start from)

@jeremylong
Copy link
Owner Author

From https://nvd.nist.gov/vuln/data-feeds

The vulnerability feeds provide CVE® data organized by the first four digits of a CVE® identifier (except for the 2002 feeds which include vulnerabilities prior to and including "CVE-2002-").

This is due to the new code. I've found a couple other bugs I'm fixing - and I think I know why the ODC (owasp dependency-check) clients can't use this cache...

@EugenMayer
Copy link
Contributor

@jeremylong i'am happy to assist if you tell me what to work on. Very interested in the ODC issue for sure.

a) I assume, the "prior" 2002 issue is that we now request using a year-range and thus hard-exclude anything prio 2002, while the old code fetched them anyway? Very hard to grasp detail
b) odc might be something with the format?

@EugenMayer
Copy link
Contributor

I could try to fix a) if you like, for b) i would need informations

@jeremylong
Copy link
Owner Author

The fact that ODC clients error when using the new cache will be fixed with e00c0c1. In a lot of ways I want to refactor some of the methods that handle reading/writing the file for the "year" to also handle the modified - in a lot of ways it is just a special year and will reduce code duplication.

jeremylong added a commit that referenced this issue Feb 11, 2025
@jeremylong jeremylong linked a pull request Feb 11, 2025 that will close this issue
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 a pull request may close this issue.

2 participants