Trivy doesn't find CSAF assessments related to a relationship #8419
javierfreire
started this conversation in
Bugs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Trivy fails to find VEX assessments when they reference the relationship between a vulnerable package and an intermediate package.
For example, consider a Bitnami module that includes a Python library and is packaged as a container image. The corresponding SPDX document defines three packages: the image, the Bitnami module, and the Python library. Meanwhile, the CSAF file contains an assessment related to the relationship between the Bitnami module and the Python library. In this scenario, Trivy does not correctly match the assessment.
Desired Behavior
Trivy finds the assessments and skips the vulnerabilities.
Actual Behavior
Trivy shows all the vulnerabilities even if there are assessments.
Reproduction Steps
Operating System
Ubuntu 24.10
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions