You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During differential fuzzing with github.com/pandatix/go-cvss I discovered that your implementation does not properly validate CVSS v2 vectors when environmental metrics values are not defined.
This could be categorized as CWE-20.
In order to be compliant with the first.org specification Table 13 you must only validate a vector when all the group metrics are defined in the input vector, even if Temporal and Environmental ones are set to ND (Not Defined).
During differential fuzzing with
github.com/pandatix/go-cvss
I discovered that your implementation does not properly validate CVSS v2 vectors when environmental metrics values are not defined.This could be categorized as CWE-20.
In order to be compliant with the first.org specification Table 13 you must only validate a vector when all the group metrics are defined in the input vector, even if Temporal and Environmental ones are set to
ND
(Not Defined).The following Go code illustrates this issue.
produces ->
The text was updated successfully, but these errors were encountered: