docker-library / python

Docker Official Image packaging for Python

Home Page:https://www.python.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python:3.11-slim-bookworm CVE-2023-5752

trottomv opened this issue · comments

Library Vulnerability Severity Status Installed Version Fixed Version Title
pip (METADATA) CVE-2023-5752 MEDIUM fixed 23.2.1 23.3 pip: Mercurial configuration injectable in repo revision when installing via pip Link

Hi @LaurentGoderre

Is it not necessary to modify the pip version here as well?

ENV PYTHON_PIP_VERSION 23.2.1

(and in the "not slim" bookworm also)

ENV PYTHON_PIP_VERSION 23.2.1

@trottomv that version is derived from the location I pointed to in the update script.

As far as I am aware, that issue is only going to be fixed in python 3.13 (currently in alpha). The maintainers decided against back porting to previous versions

python/cpython#112719