Skip to content

Commit 5193bbc

Browse files
add setuptools 78'
1 parent f5360d1 commit 5193bbc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tensorflow/training/docker/2.19/py3/Dockerfile.cpu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ RUN wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSIO
134134
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=/usr/local/bin sh
135135

136136
# Upgrade pip and setuptools
137-
# setuptools==81.0.0 fixes CVE-2026-23949 and still includes pkg_resources
138-
# (pkg_resources is deprecated but not removed until late 2025)
137+
# setuptools 78.1.1 fixes CVE-2025-47273 (path traversal vulnerability)
138+
# and still includes pkg_resources (needed by pandas 1.5.3 build)
139139
RUN uv pip install --system --no-cache \
140140
pip \
141-
"setuptools==81.0.0" \
141+
"setuptools==78.1.1" \
142142
wheel
143143

144144
# Some TF tools expect a "python" binary

tensorflow/training/docker/2.19/py3/cu125/Dockerfile.gpu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ RUN wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSIO
194194
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=/usr/local/bin sh
195195

196196
# Upgrade pip and setuptools
197-
# setuptools==81.0.0 fixes CVE-2026-23949 and still includes pkg_resources
198-
# (pkg_resources is deprecated but not removed until late 2025)
197+
# setuptools 78.1.1 fixes CVE-2025-47273 (path traversal vulnerability)
198+
# and still includes pkg_resources (needed by pandas 1.5.3 build)
199199
RUN uv pip install --system --no-cache \
200200
pip \
201-
"setuptools==81.0.0" \
201+
"setuptools==78.1.1" \
202202
wheel
203203

204204
# Some TF tools expect a "python" binary

0 commit comments

Comments
 (0)