-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Handle missing primary CVSS metrics in CVEs
Updating CVEs from JSON now handles the case where there are no primary metrics for the newest CVSS version by also checking metrics of other CVSS version or falling back to the secondary metrics of the newest CVSS version. This fixes a crash when loading a JSON feed containing CVEs with no primary metrics for the newest CVSS version.
- Loading branch information
1 parent
61e9921
commit cd3e76b
Showing
1 changed file
with
52 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters