Trivy randomly fail to find vulnerabilities and reports 0 issues #7758
krab-skunk
started this conversation in
Bugs
Replies: 1 comment 4 replies
-
That's interesting @krab-skunk - I've run Trivy in a loop for 30min or so but haven't seen this behavior yet. Where are you running Trivy? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
We run a Trivy scanning job on an AWS EC2, and sometimes it will find every issues for all images, and few hours later, for the very same scan with the same images, it will simply find 0 vulnerabilities for all of the images, while the previous scan found 13000+ CVEs
Here are an example log: example of scanning
bitnami/redis-exporter:1.43.0-debian-11-r4
and report 0 issuesThe worst part here is that it fail silently, it doesn't say anywhere cannot scan or anything, it look like a perfectly legit scan, just found 0 CVEs
30min later, scanning the very same
bitnami/redis-exporter:1.43.0-debian-11-r4
image will report 308 CVEsAnd few hours later, it will again report 0 CVEs found
The only difference i see between those 2 scans, is that the one that found some issues had this new line
Are there some quotas of vulnerabilities found from the same IP address ?? What could explain this discrepancy ?
Thanks a lot
Desired Behavior
Not having discrepancies
Actual Behavior
Mentioned in the description
Reproduction Steps
Mentioned in the description
Target
None
Scanner
None
Output Format
None
Mode
None
Debug Output
Mentioned in the description
Operating System
python:3.11.8-alpine3.19
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions