0llirocks / cvss-suite

CvssSuite - This Ruby gem helps you to process the vector of the Common Vulnerability Scoring System.
https://cvss-suite.0lli.rocks
Other
23 stars 15 forks source link

Add extra CVSS vector validations for 3.1 and lower #42

Closed kghandour closed 1 month ago

kghandour commented 1 month ago

Proposed changes

Fixes #41 # Add extra validation checks to make sure there are no unexpected properties in CVSS.

Types of changes

What types of changes does your code introduce to CvssSuite? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR.

Further comments

Depending on the behaviours that people use this suite for, it might break some CVSS vectors that were considered valid even though they were not. That's why I marked it as breaking change.