Replies: 1 comment
|
Hello @TheCodear Created #10292 Regards, Dmitriy |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
Given a sample
pom.xmlfile with the following content:According to the GHSA file, there is only a CVSSV4 score assigned to this vulnerability: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-72hv-8253-57qq/GHSA-72hv-8253-57qq.json#L9-L14
When running a trivy filesystem scan outputting the result in json format, the expected vulnerability is reported together with its score:
When running the same command with output type
cyclonedx, theratingslist is empty:I'd expect to see the same information than in the
jsonoutput.This might be related to aquasecurity/trivy-db#596 although the CVSSV4 information is available in the DB.
Desired Behavior
Running the command with
--format cyclonedxshould have the same CVSS score information as when running with--format json.Actual Behavior
As shown above, the output does not contain the ratings as expected.
Reproduction Steps
Target
Filesystem
Scanner
Vulnerability
Output Format
CycloneDX
Mode
Standalone
Debug Output
Operating System
Linux x86_64
Version
Checklist
trivy clean --allAll reactions