Open jozo opened 1 year ago
+1 for upgrade, 6.1.38-1
is in bookworm repos
Google's GKE Security Posture is also complaining about the 37 CVEs
Hello there! Thanks for the report.
We rebuild against the upstream python
images in Docker Library, and we do not have any kind of build/package caching, so once this is resolved in the official Docker images, then they should be resolved in our next release build.
Thanks for the info @jawnsy
Have you considered running apt upgrade
during the docker build or does this go against some reproducibility goal you are aiming for?
I might be missing something here, but I think the chances of an upgrade breaking something (on a regularly updated stable debian base) are miniscule and people can always pin to a hash if they really want to freeze everything.
I would consider upgrading to be a safer alternative to distributing images with unpatched CVEs that have a fix available.
E: No need to run a full upgrade, here's what we are using to upgrade only packages with security fixes:
apt-get update && apt-get install -y debsecan && apt-get install --no-install-recommends -y $(debsecan --suite bullseye --format packages --only-fixed)
First check
Bug summary
Hi,
our security scanners notified us regarding a few CVEs in Prefect docker images. You should rebuild docker images (to install the newer version of
linux-libc-dev
) or removebuild-essential
at the end of the Dockerfile (I guesslinux-libc-dev
is installed as part ofbuild-essential
).Reproduction
Error
Versions
Additional context
No response