Unmatched Vulnerabilities.affects.ref when scanning CycloneDX sbom with duplicate Purls #7334
Closed
scott-boost
started this conversation in
Bugs
Replies: 1 comment
-
Hello @scott-boost Created #7337 for this bug. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When scanning a cyclone dx sbom with 2 components that have the exact same purls (but different bom-refs), the resulting vulnerability.affects.ref has a seemingly random ref
NOTE: that this bug does not occur if the format is
json
insteadDesired Behavior
vulnerability.affects.ref points to a Component.bom-ref in the same sbom
Actual Behavior
vulnerability.affects.ref DOES NOT point to a Component.bom-ref in the same sbom
Reproduction Steps
Target
SBOM
Scanner
Vulnerability
Output Format
CycloneDX
Mode
Standalone
Debug Output
Operating System
macOS Sonoma 14.6.1
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions