bug(redhat): Trivy doesn't skip vulnerability from CVE-ID if package version is not affected for RHSA-ID of this vulnerability #8061
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/vulnerability
Issues relating to vulnerability scanning
Milestone
Description
There are cases when both CVE-ID and RHSA-ID contain info about vulnerable package for same CPE.
e.g. CVE-2024-45491 and RHSA-2024:6989 (see
1714
)Trivy already has logic to avoid this issue:
trivy/pkg/detector/ospkg/redhat/redhat.go
Lines 147 to 155 in 983ac15
But it doesn't work if pkg.Version > fixedVersion from RHSA.:
Discussed in #8059
The text was updated successfully, but these errors were encountered: