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

DISCUSS - Future data goals #3

Open
joshbressers opened this issue Mar 19, 2024 · 1 comment
Open

DISCUSS - Future data goals #3

joshbressers opened this issue Mar 19, 2024 · 1 comment
Labels
discussion A topic that needs discussion to make a decision

Comments

@joshbressers
Copy link
Contributor

joshbressers commented Mar 19, 2024

Today we are duplicating the data format used by NVD in the nvd-data-overrides repo. This data format is less than ideal

We should discuss some goals and ideas for how to best enrich this data in the future.

Here are some high level goals for enriching data

  • Do not create new IDs, only enrich existing IDs (this avoids trying figure out a new ID format)
  • Defer to upstream data whenever possible
    • The idea here isn't to overrule upstream data, but to add things they cannot. For example: A GitHub ID that affects an ecosystem they do not currently cover.
    • If an upstream data source has an error, try to submit fixes there first
  • Allow anyone to submit modifications to the data. Those modification should be reviewed by a trusted project member before being accepted just like all open source projects work
  • Have the ability to output the enriched data in multiple formats. For example we could publish cve5, OSV, and NVD formats
  • Make sure the data is future proof to a degree. By capturing more details than we need for the existing formats capture today, we raise our chances of not needing to overhaul everything in the future

Two data format examples that are pretty good

cve5
https://github.com/CVEProject/cvelistV5

OSV
https://ossf.github.io/osv-schema/

@joshbressers joshbressers added the discussion A topic that needs discussion to make a decision label Mar 19, 2024
@prabhu
Copy link

prabhu commented Mar 19, 2024

+1 for CVE 5.0 which is well thought out compared to osv. Plus CVE 5.1 adds support for purl etc.

We recently upgraded vdb project (used by owasp depscan) to use CVE 5.0, purl vers and sqlite. Screenshots below:

vdb6

index-vdb6

The project also supports upgrading from osv to CVE 5.0 although there is some loss of information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion A topic that needs discussion to make a decision
Projects
None yet
Development

No branches or pull requests

2 participants