Skip to content

CVSS version mismatch #50

Open
Open
@supermaurio

Description

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

anastasia-vanriet

anastasia-vanriet commented on Jun 14, 2023

@anastasia-vanriet

Hi @supermaurio,

Thank you for bringing this to our attention, and apologies for the delayed response. A bug ticket has been filed, and we hope to address this very soon.

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

      CVSS version mismatch · Issue #50 · sonatype/ossindex-public