File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ ENV PATH="/home/$DOCKER_USER/.venv/bin:${PATH}"
4242# Install uv for quicker package installations
4343RUN pip install uv==0.9.29
4444
45- # Update to newer pip/setuptools/wheel (setuptools >= 70.0.0 due to CVE-2024-6345
46- # and CVE-2025-47273, wheel >= 0.38. 0 due to CVE-2022-40898) and delete old system
47- # version (we essentially use apt:python3-pip to bootstrap pip)
48- RUN uv pip install --upgrade pip~=25.2 setuptools~=78.1.1 wheel~=0.45.1
45+ # Update to newer pip/setuptools/wheel:
46+ # - setuptools >= 70.0. 0 due to CVE-2024-6345 and CVE-2025-47273
47+ # - wheel >= 0.38.0 due to CVE-2022-40898 and >= 0.46.2 due to CVE-2026-24049
48+ RUN uv pip install --upgrade pip~=26.0 setuptools~=78.1.1 wheel~=0.46.2
4949
5050# Install non-torch requirements
5151COPY --chown=$DOCKER_USER:$DOCKER_USER requirements.txt .
Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: Copyright 2024, 2025 Arm Limited and affiliates.
1+ # SPDX-FileCopyrightText: Copyright 2024-2026 Arm Limited and affiliates.
22#
33# SPDX-License-Identifier: Apache-2.0
44
@@ -37,4 +37,4 @@ tqdm~=4.66.5
3737transformers ~= 4.55.2 # >= 4.50.0 due to CVE-2025-2099
3838typing_extensions ~= 4.12.2
3939tzdata == 2024.2
40- urllib3 ~= 2.2.3
40+ urllib3 ~= 2.6.3 # >= 2.6.3 due to CVE-2026-21441
Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: Copyright 2020-2025 Arm Limited and affiliates.
1+ # SPDX-FileCopyrightText: Copyright 2020-2026 Arm Limited and affiliates.
22#
33# SPDX-License-Identifier: Apache-2.0
44
@@ -82,10 +82,10 @@ RUN python -m venv /home/$DOCKER_USER/.venv
8282# Make the venv python/pip first on PATH for all subsequent layers and at runtime
8383ENV PATH="/home/$DOCKER_USER/.venv/bin:$PATH"
8484
85- # Update to newer pip/setuptools/wheel (setuptools >= 70.0.0 due to CVE-2024-6345
86- # and CVE-2025-47273, wheel >= 0.38. 0 due to CVE-2022-40898) and delete old system
87- # version (we essentially use apt:python3-pip to bootstrap pip)
88- RUN pip install --upgrade pip~=25.2 setuptools~=78.1.1 wheel~=0.45.1
85+ # Update to newer pip/setuptools/wheel:
86+ # - setuptools >= 70.0. 0 due to CVE-2024-6345 and CVE-2025-47273
87+ # - wheel >= 0.38.0 due to CVE-2022-40898 and >= 0.46.2 due to CVE-2026-24049
88+ RUN pip install --upgrade pip~=26.0 setuptools~=78.1.1 wheel~=0.46.2
8989
9090# Check TENSORFLOW_WHEEL was set and copy
9191RUN test -n "$TENSORFLOW_WHEEL"
Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: Copyright 2025 Arm Limited and affiliates.
1+ # SPDX-FileCopyrightText: Copyright 2025, 2026 Arm Limited and affiliates.
22#
33# SPDX-License-Identifier: Apache-2.0
44
@@ -18,3 +18,4 @@ tokenizers~=0.21.0
1818tqdm ~= 4.67.1
1919transformers ~= 4.53.0
2020tzdata == 2025.1
21+ urllib3 ~= 2.6.3 # >= 2.6.0 due to CVE-2025-66418 and CVE-2025-66471, and >= 2.6.3 due to CVE-2026-21441
You can’t perform that action at this time.
0 commit comments