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
vec: &{0xc0000ba000 X X X X X X X X X X X}
err: <nil>
The CVSS v3.1 vector is invalid because A is defined twice, but as one is valid, there is no error raised.
You can check this input is invalid, using the official first.org calculator which does not give scores despite base metrics being all defined, or by looking at the specification Table 15 which shows the A (Availability) metric can't be 0.
The text was updated successfully, but these errors were encountered:
After #10, I fuzzed again the implementation and discovered that other invalid inputs did not raise errors.
This could be categorized as CWE-20.
For instance, the following Go code does not produce any error.
produces ->
The CVSS v3.1 vector is invalid because A is defined twice, but as one is valid, there is no error raised.
You can check this input is invalid, using the official first.org calculator which does not give scores despite base metrics being all defined, or by looking at the specification Table 15 which shows the A (Availability) metric can't be 0.
The text was updated successfully, but these errors were encountered: