Skip to content
New issue

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

cvss: bugs, tests #1386

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

cvss: bugs, tests #1386

wants to merge 3 commits into from

Commits on Aug 27, 2024

  1. cvss: v2: fix ordering

    The previous version was too permissive with allowed orderings. Per
    spec:
    
    > The vector lists these metrics in a predetermined order, using the "/"
    > (slash) character to separate the metrics.
    
    Signed-off-by: Hank Donnay <[email protected]>
    hdonnay committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    172e9e8 View commit details
    Browse the repository at this point in the history
  2. cvss: v4: tolerate abnormal vectors in scoring

    Signed-off-by: Hank Donnay <[email protected]>
    hdonnay committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    356a49b View commit details
    Browse the repository at this point in the history
  3. cvss: switch tests to external fixtures

    Putting all the fixtures into separate files makes adding new cases just
    an `echo` instead of editing go source.
    
    Signed-off-by: Hank Donnay <[email protected]>
    hdonnay committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0ec0489 View commit details
    Browse the repository at this point in the history