Ignore Debian minor issues #4200
Replies: 8 comments 12 replies
-
This gist has the full debugged json output of this command: |
Beta Was this translation helpful? Give feedback.
-
It also be worth adding a flag where ignoring vulnerabilities if Debian considers a vulnerability to be a minor issue as another useful fix as well. |
Beta Was this translation helpful? Give feedback.
-
I would like to know where in the code is trivy going through the debian advisory initally. Parsing through the data in the initial stage could be an effective way to see if a vuln is considered minor and where the ignore minor vuln logic could be applied. Scripting logic could be added like this:
This could be applicable once trivy begins to read through the data source and it would be applicable for each and every format. |
Beta Was this translation helpful? Give feedback.
-
This is also causing problems for me as well. Our security team uses trivy as their main checker and CVE-8457 is showing as critical even though on Debian it is minor. The bigger problem is that libdb5.3 is an essential package and can't be removed or updated easily. @falcantaralinode did you find a solution to this CVE? |
Beta Was this translation helpful? Give feedback.
-
No I wasn't able to find a solution currently. The only thing that I can think of is to simply ignore unfixed vulnerabilities so that way we get rid of all of the vulnerabilities while simply increasing the cadence of the scan as 1 way to approach this. |
Beta Was this translation helpful? Give feedback.
-
Our team is also experiencing issues when scanning Debian images. |
Beta Was this translation helpful? Give feedback.
-
I've been looking into this and some other issues Trivy flags. Am I blind, or is there a worse problem here: Trivy is flagging on What does libdb have to do with SQLite3? Nothing, as far as I can tell. |
Beta Was this translation helpful? Give feedback.
-
Any updates here? If trivy scan a debian 11 image, there are a lot of vulns shown. Mostly debian tagged the vulns as minor issue |
Beta Was this translation helpful? Give feedback.
-
Checklist
-f json
that shows data sources and make sure that the security advisory is correct.Description
Trivy considers this dependency
db5.3
as a critical severity under the debian:11.6-slim image. The vulnerability is related to a heap out-of-bound read in the rtreenode() function when handling invalid rtree tables.Debian considers this vulnerabilty to be a minor issue. Debian does have a security tracker. I saw that trivy uses this link for debian related os pkg vulnerabilities. It might be worth using this JSON file as another data source for reviewing Debian related vulnerabilities.
JSON Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
Base image name: debian:11.6-slim
Container Registry: Dockerhub
Dockerhub Image
Beta Was this translation helpful? Give feedback.
All reactions