-
-
Notifications
You must be signed in to change notification settings - Fork 578
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
Vulnerability analysis cannot be performed, if the component contains “purchaser” property in SBOM file #4144
Comments
Can you share the exact error you'e getting? |
It's a parsing bug in the CycloneDX library: CycloneDX/cyclonedx-core-java#507 |
Thanks for the reply. The error I get is as follows: 2024-10-08 09:22:30,920 ERROR [BomUploadProcessingTask] Error while processing bom |
So that means, this bug is now resolved with Hotfix-PR? |
Fixes DependencyTrack#4144 Signed-off-by: nscuro <[email protected]>
Current Behavior
When we upload SBOM file in CycloneDX ( 1.5 version) format to the tool, we do not get any results. Instead, we receive a parse error from your API.
Once we examine further:
if any component contains the following section, API throws an error:
When we remove the above part from the component section, the analysis can be completed as expected.
Additionally, there is another component in SBOM file that has already vulnerabilities. Due to this error, its analysis is also skipped.
Proposed Behavior
If there is an error or omission in SBOM file that could disrupt the analysis, it would be better, that the error message was more descriptive.
At least the analysis results of the other component can be given, and the error of the faulty component can be thrown as a response in more descriptive way.
We would also like to know why such an error occurred.
Checklist
The text was updated successfully, but these errors were encountered: