-
Notifications
You must be signed in to change notification settings - Fork 9
Open
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":
ossindex-public/api/src/main/java/org/sonatype/ossindex/service/api/cvss/CvssVectorFactory.java
Lines 34 to 37 in 12b5be0
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
Metadata
Metadata
Assignees
Labels
No labels