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

ODC to support NVD CVE API v2 offline cache in RAW JSON format, rather than v1 feed format #7211

Open
MysticalMount opened this issue Dec 3, 2024 · 2 comments

Comments

@MysticalMount
Copy link

While newer versions seem to be able to support using the v2 of the NVD CVE API, its performance is unreliable. I can see there is the Open-Vulerability-Project and vulnz - which can create a cached copy of the data from the v2 API into the cached format of the v1 API.

However all of these options contain quite a bit of engineering for us to integrate.

I have encountered this Github repository:
https://github.com/vulsio/vuls-data-raw-nvd-api-cve

This is a mirror of every single JSON file the V2 API can provide sorted by years. This is much easier to integrate.

Im not sure if it already exists, but if we have data in a similar structure to this Git repository, i.e. the V2 API data in RAW JSON format, can OWasp Dependency Checker support this offline format?

The data conversion between the two will cause us quite a bit of engineering effort, and probably many others too.

@MysticalMount MysticalMount changed the title ODC to support NVD CVE offline cache in RAW JSON format, rather than v1 feed format ODC to support NVD CVE API v2 offline cache in RAW JSON format, rather than v1 feed format Dec 3, 2024
@jeremylong
Copy link
Owner

jeremylong commented Dec 3, 2024

It supports the schema within the files - but it does not support loading individual vulnerabilities from files like the provided example. In order to update the database we would have to process every single file to know if it had been updated. Many users simply utilize https://cveb.in or create their own mirror using the docker image documented here.

@jeremylong
Copy link
Owner

Apparently my comment was incorrect. I thought there had been reports of people successfully using cveb.in - the file format is different and may appear to work, but it does not.

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

No branches or pull requests

2 participants