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 version mismatch #50

Open
supermaurio opened this issue Mar 24, 2023 · 1 comment
Open

CVSS version mismatch #50

supermaurio opened this issue Mar 24, 2023 · 1 comment

Comments

@supermaurio
Copy link

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

@anastasia-vanriet
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants