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

CVE 5.0 converter #7

Open
oliverchang opened this issue Sep 14, 2021 · 5 comments
Open

CVE 5.0 converter #7

oliverchang opened this issue Sep 14, 2021 · 5 comments

Comments

@oliverchang
Copy link
Contributor

We should implement a CVE 5.0 converter to/from OSV.

@kurtseifried
Copy link
Contributor

One question: there are some things missing from OSV that the CVE JSON format has, and vice versa, what are the plans for that?

One possible answer: you can embed the entire CVE JSON in the database_specific field so data is not lost and then add support later since the data is there.

@oliverchang
Copy link
Contributor Author

One question: there are some things missing from OSV that the CVE JSON format has, and vice versa, what are the plans for that?

One possible answer: you can embed the entire CVE JSON in the database_specific field so data is not lost and then add support later since the data is there.

Yep indeed! database_specific is what this is for. CVE JSON also has a lot of stuff that I'm not sure we'd want to include in OSV -- we want OSV to remain simple and easily understandable for open source. A lot of the extra things in CVE come from the fact that they need to describe vulnerabilities in closed source as well.

@andrewpollock
Copy link
Collaborator

Stashing #109 (comment) here to keep things together.

@andrewpollock
Copy link
Collaborator

Related: CVEProject/cve-schema#241

@andrewpollock
Copy link
Collaborator

Drive by comment:

One possible answer: you can embed the entire CVE JSON in the database_specific field so data is not lost and then add support later since the data is there.

This seems like an unnecessary duplication:

  1. the source of truth record in the CVEList should remain around ~forever
  2. the source of truth record could evolve independently, and should be consulted for any future repeat conversion attempts

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

No branches or pull requests

3 participants