We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 3.1.0 produces invalid vector string. CVSS prefix is missing. From the spec:
The v3.0 vector string begins with the label "CVSS:"
Previous version (3.0.1) is not affected by this.
irb(main):001:0> c = CvssSuite.new('CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C') => #<CvssSuite::Cvss31:0x00007fb5ea2aede0 ... irb(main):002:0> c.vector => "AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C"
c.vector == 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C'
c.vector == 'AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C'
The text was updated successfully, but these errors were encountered:
0llirocks
Successfully merging a pull request may close this issue.
Subject of the issue
Version 3.1.0 produces invalid vector string. CVSS prefix is missing. From the spec:
Previous version (3.0.1) is not affected by this.
Your environment
Steps to reproduce
Expected behaviour
c.vector == 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C'
Actual behaviour
c.vector == 'AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C'
The text was updated successfully, but these errors were encountered: