-
Notifications
You must be signed in to change notification settings - Fork 71
The Nginx base image has a lot of security problems #43
Comments
A bit of historical background, to make you understand the different images:
If you have specific suggestions on how to fix the issue you raised, please submit a PR. This is highly appreciated. – Thanks! |
Hi @bittner It looks like you are all making good progress. My first proposal was also to keep using the official web images for nginx, but switch over and use the official image based on alpine Linux (very small, stable and secure linux, used in many docker images) instead of using the other official image based on Debian. I will try to send some PRs to help improve what I can. Best Regards |
I would recommend switching over to alpine if it's possible. The default images are based on Debian and scanners find a lot of vulnerabilities(false positives included) even in weekly scans. We got tired of maintanance and made the switch to alpine. |
I'm creating a new set of images based on Alpine. Still not ready to merge, but will be soon hopefully. |
@jithurjacob You can find the new alpine based images on docker hub now. Please review and comment. |
I have been looking in to switching my Nginx that uss modsecurity and CRS over to this official image.
Using the Trivy docker image scanner we get the following summary for the nginx image used as base:
If we instead switch over and use the alpine version of the same image, we get the following:
Not perfect, but much better.
As a nice side effect we also get a much smaller image:
The text was updated successfully, but these errors were encountered: