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

Pull and store CVSSv3.0 and CVSSv3.1 base scores from NVD #60

Closed
chelsgr opened this issue Apr 19, 2022 · 3 comments
Closed

Pull and store CVSSv3.0 and CVSSv3.1 base scores from NVD #60

chelsgr opened this issue Apr 19, 2022 · 3 comments
Assignees
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use

Comments

@chelsgr
Copy link

chelsgr commented Apr 19, 2022

Summary

As available in the NVD, CyHy requests we pull and store data for CVSS including versions 2.0, 3.0, and 3.1 base scores for all CVEs. For CVSSv3+, the NVD currently populates this data for newly added vulnerabilities. CyHy requests that we pull the data from their feeds to store all of the version base scores in the cves collection of the database and use the most recent version available for determining the severity rating in terms of critical/high/med/low.

Motivation and context

This change is required to support Modify CyHy VS to include CVSSv3+ and VPR scoring #59

@chelsgr chelsgr added the improvement This issue or pull request will add or improve functionality, maintainability, or ease of use label Apr 19, 2022
@chelsgr chelsgr moved this to Todo in VS CVSSv3+ and VPR Apr 20, 2022
@dav3r
Copy link
Member

dav3r commented May 4, 2022

If we only care about the latest version of the CVSS score for each CVE, why would we bother storing earlier scores in the database? I'd think that we would just look for a 3.1 score, if it's there, we store it and move on. If there is no 3.1 score, we check for a 3.0 score, and so on.

I just spoke to @climber-girl about this and she confirmed that they don't have any use case that would require storing more than one version of the CVSS score in our DB.

@dav3r
Copy link
Member

dav3r commented May 4, 2022

Code to be changed:

@dav3r dav3r self-assigned this May 5, 2022
@dav3r dav3r moved this from Todo to In Progress in VS CVSSv3+ and VPR May 5, 2022
@dav3r dav3r changed the title Pull and store CVSSv3.0 and CVSSv3.1 base scores Pull and store CVSSv3.0 and CVSSv3.1 base scores from NVD May 6, 2022
@dav3r
Copy link
Member

dav3r commented Jun 9, 2022

Completed via cisagov/cyhy-core#69.

@dav3r dav3r closed this as completed Jun 9, 2022
Repository owner moved this from In Progress to Done in VS CVSSv3+ and VPR Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use
Projects
No open projects
Development

No branches or pull requests

2 participants