docker-library / python

Docker Official Image packaging for Python
https://www.python.org/
MIT License
2.5k stars 1.04k forks source link

python:3.11-slim-bookworm CVE-2023-44487 #890

Closed trottomv closed 7 months ago

trottomv commented 7 months ago
Library Vulnerability Severity Status Installed Version Fixed Version Title
libnghttp2-14 CVE-2023-44487 HIGH fixed 1.52.0-1 1.52.0-1+deb12u1 HTTP/2: Multiple HTTP/2 enabled web servers are vulnerable to a DDoS attack... Link
LaurentGoderre commented 7 months ago

I believe this was fixed by an update to the underlying Debian

yosifkit commented 7 months ago

Background:

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).

-https://github.com/docker-library/official-images/tree/2f086314307c04e1de77f0a515f20671e60d40bb#library-definition-files

Official Images FAQ:

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.

- https://github.com/docker-library/faq/tree/0ad5fd60288109c875a54a37f6581b2deaa836db#why-does-my-security-scanner-show-that-an-image-has-cves

To ensure that we don't push contentless image changes, we rely on periodic base image updates.

We strive to publish updated images at least monthly for Debian. 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 Ubuntu, Alpine, and Oracle Linux, and are subject to their own maintenance schedule.

- from the same FAQ link

The last Debian update was 2 weeks ago, so the next will likely be within the next 2 weeks or so and the dependent image rebuilds will include this and any other fixes available.

trottomv commented 7 months ago

@yosifkit you're right, sorry, I've the alert on libnghttp2-14 from vulnerability assessment into my Dockerfile that use python:3.11-slim-bookworm as base image. But it could be a sub dependency of curl, for sure.