CVSS v4.0 has been introduced last year.
OSV can already return CVSS v4.0 score vectors in the response.
However, the CVSS v4.0 is not supported yet by the cvss-calculator used in the AppSec Kit to calculate the score from the vector string.
This PR adds a check for the supported CVSS versions to avoid errors when a CVSS v4.0 score is present in the response.
CVSS v4.0 has been introduced last year. OSV can already return CVSS v4.0 score vectors in the response. However, the CVSS v4.0 is not supported yet by the
cvss-calculator
used in the AppSec Kit to calculate the score from the vector string.This PR adds a check for the supported CVSS versions to avoid errors when a CVSS v4.0 score is present in the response.
Closes #181