You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CVE-2021-45960 vulnerability in python 3.9-slim #699
Images with python 3.9-slim (dfcf03d7f1eb) have a version of expat (2.2.10) that is identified as a critical vulnerability when scanned with GCP On Demand Scanning API.
Tags in the [official-images] library file[s] are only built through an update to that library file or as a result of its base image being updated (ie, an image FROM debian:buster would be rebuilt when debian:buster is built).
Though not every CVE is removed from the images, we take CVEs seriously and try to ensure that images contain the most up-to-date packages available within a reasonable time frame
Although an updated package is now available in Debian, since our build system makes heavy use of Docker build cache, just rebuilding the all of the Dockerfiles won't cause any change. So we rely on periodic base image updates.
We strive to publish updated images at least monthly for Debian and Ubuntu. We also rebuild earlier if there is a critical security need. Many Official Images are maintained by the community or their respective upstream projects, like Alpine and Oracle Linux, and are subject to their own maintenance schedule.
- from the same FAQ link
The last Debian update was docker-library/official-images#11739 (21 days ago), so the next one is not due for about 9 days. So the Debian-based python images will get a rebuild then. If you "need" updates earlier, you can always apt-get update && apt-get upgrade -y in your image, but the python images will probably be updated within about 2 weeks.
Activity
gabsima-optel commentedon Feb 15, 2022
This also affects
emojean1 commentedon Feb 15, 2022
Same here, in python3.8-slim identified by GCP On Demand API
here is more details output from GCP
Information
Debian
CVE-2021-45960
Details
Version: 2.2.10 2
Affected location: cpe:/o:debian:debian_linux:11
Package: expat
Package type: OS
Long description: NIST vectors: AV:N/AC:L/Au:S/C:C/I:C/A:C
Effective Severity: Critical
CVSS: 9
Fixed in : 2.2.10 2+deb11u1
emojean1 commentedon Feb 15, 2022
@roryjbd
this progress might interest you
3.8 -> python/cpython#31297
3.9 -> python/cpython#31295
yosifkit commentedon Feb 15, 2022
Background:
Official Images FAQ:
Although an updated package is now available in Debian, since our build system makes heavy use of Docker build cache, just rebuilding the all of the Dockerfiles won't cause any change. So we rely on periodic base image updates.
The last Debian update was docker-library/official-images#11739 (21 days ago), so the next one is not due for about 9 days. So the Debian-based python images will get a rebuild then. If you "need" updates earlier, you can always
apt-get update && apt-get upgrade -yin your image, but the python images will probably be updated within about 2 weeks.roryjbd commentedon Feb 16, 2022
Thanks, running
apt-get update && apt-get upgrade -yupdates libexpat and allows the image to pass the scanning steptianon commentedon Mar 1, 2022
Fixed via docker-library/official-images#11942