Skip to content

CVSS version mismatch #50

Description

@supermaurio

The api endpoint at https://ossindex.sonatype.org/api/v3/component-report
returns a CVSSv3.1 vector, but the library ossindex-service-client defaults to "CVSSv2" because it does not start with "CVSSv3.0":

if (value.startsWith(Cvss3Vector.PREAMBLE)) {
return new Cvss3Vector(value);
}
return new Cvss2Vector(value);

This bug results in the following issue over at OWASP dependency check:
jeremylong/DependencyCheck#5598

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions