-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support BusyBox base image #397
Comments
Since BusyBox doesn't have any way to install system packages, the most I would expect Trivy to do at this point would be to pull the BusyBox version using something like this;
Then compare the version against known CVEs for that BusyBox version. I am not quite sure where the vuln feed would come from, though. There have certainly been CVEs for BusyBox in the past. As for scanning for application dependencies, I would expect that Trivy could continue on as normal on BusyBox simply looking for the application dependency manifests (e.g., |
The NVD database should have this data to compare against in the CPE fields, but I'm not sure what capability the current Trivy code has to compare against it. |
Thanks for digging into this @mattlorimor, we're currently investigating this as well. Your feedback is helpful! |
Now, Trivy can handle a busybox image gracefully, but it doesn't mean Trivy can detect vulnerabilities of busybox itself. Someone who needs it can watch this issue. |
* fix: Use custom filter options on results
Currently when scanning BusyBox images Trivy throws a FATAL error:
FATAL error in image scan: failed to scan the image: failed to analyze OS: Unknown OS
It'd be nice to add support for BusyBox
The text was updated successfully, but these errors were encountered: