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

Resolves #1204 Update Cve-Service's version of the CVE schema to address CVSS score errors #1211

Merged
merged 5 commits into from
Mar 19, 2024

Conversation

jdaigneau5
Copy link
Collaborator

Closes Issue #1204

Summary

In the 5.1 schema, some valid CVSS score and severity pairs would fail validation due to the use of the multipleOf JSON schema keyword's rounding. To address this, we updated Cve-Services's copy of the CVE schema to have enums of acceptable values for CVSS scores, avoiding rounding issues.

Important Changes

CVE_JSON_5.1_bundled.json, 5.1_published_cna_container.json

  • Replaced CVSS valid score values with enums instead of multipleOf.

@david-rocca david-rocca merged commit 517221b into dev Mar 19, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants