-
Notifications
You must be signed in to change notification settings - Fork 315
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
CycloneDX Reporter uses EPSS score without that method being set #9556
Comments
What's the score of that vulnerability in ORT's advisor result? Can you also double-check with the JSON representation of the same CycloneDX report? Because there are several XML-specific bugs in the CycloneDX Java library. |
This simply looks like the EPSS value is being used instead of the CVSS base score. |
Do not require an exact match of method names, but map according to CVSS prefixes known to ORT. Resolves #9556. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Interesting. The CycloneDX Java library that we use, uses Edit: Scratch that, `xs:decimal does include floating-point numbers. |
Do not require an exact match of method names, but map according to CVSS prefixes known to ORT. Resolves #9556. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
I guess it is beneficial if I give more context:
|
Ok, but still, this is nothing we can fix on our side, I believe. IMO the problem is with how the CycloneDX Java library serializes this specific double value. |
Resolves #9556. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
I've implemented that now. |
The bug is not in the schema, but IMO in the serialization library (at least that's probably the easiest place to fix it), so I've filed this. |
Resolves #9556. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Describe the bug
During a scan, a CycloneDX report is requested.
In the CycloneDX SBOM document (version 1.5), is contains a section as follows:
Cross-checking with the related XML schema file, the data type for score is xs:Decimal.
The number 7.600000244565308E-4 seems to have the wrong representation here.
ORT version: 42.0.0
The text was updated successfully, but these errors were encountered: