RedHatProductSecurity / cvss-v4-calculator

CVSS v4.0 calculator
https://redhatproductsecurity.github.io/cvss-v4-calculator/
BSD 2-Clause "Simplified" License
34 stars 25 forks source link

fix(parsing): fix #36 by checking (non-)mandatory metrics #37

Closed pandatix closed 12 months ago

pandatix commented 12 months ago

Due to the missing (non-)mandatory strategy being implemented through #35, this PR fixes the "non-sticky" non-mandatory metrics issue raised in #34 by @ViperGeek.

It also fixes the case in which the mandatory metrics were not part of the input vector (from the URL fragment/hash), which has been discovered during dev of the current fix.

ViperGeek commented 12 months ago

https://redhatproductsecurity.github.io/cvss-v4-calculator/ works great! Thanks all.

I'll sync the https://github.com/FIRSTdotorg/cvss-v4-calculator fork later today and refresh first.org/cvss/calculator/v4-0