Trivy detects 11 critical vulnerabilities in the operating system (packages) of the Docker image.
I do not know if there is a way to exploit them. For my peace of mind, I would like to get rid of them anyway. Please tell me if I should open a pull request.
Summary
With the following changes the number of OS-related critical vulnerabilities can be reduced from 11 to 1:
Trivy detects 11 critical vulnerabilities in the operating system (packages) of the Docker image.
I do not know if there is a way to exploit them. For my peace of mind, I would like to get rid of them anyway. Please tell me if I should open a pull request.
Summary
With the following changes the number of OS-related critical vulnerabilities can be reduced from 11 to 1:
Caveat: I have not tested the resulting image.
Details
By using a bullseye base image instead of the buster base image the number of critical vulnerabilities can be reduced to 3:
And with adding
apt-get upgrade
to the mix the number can be reduced to 1: