Full error: API query failed: failed to hydrate OSV response: json: cannot unmarshal number into Go struct field Severity.severity.type of type models.SeverityType
One of the dependency in the project I was scanning was vulnerable to GHSA-25hc-qcg6-38wj.
The API response exposes the severity in the CVSS 4 format:
Full error:
API query failed: failed to hydrate OSV response: json: cannot unmarshal number into Go struct field Severity.severity.type of type models.SeverityType
One of the dependency in the project I was scanning was vulnerable to GHSA-25hc-qcg6-38wj.
The API response exposes the severity in the CVSS 4 format:
The code seems to expects the string
CVSS_V4
instead of the number3
in this situation.