File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,6 +105,12 @@ RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/whee
105105RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.3-py3-none-any.whl
106106RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.0.1-py3-none-any.whl
107107
108+ # TODO: Remove this code once there is a newer version of virtualenv which does not include wheel 45.1
109+ # https://github.com/pypa/virtualenv/tree/20.36.1/src/virtualenv/seed/wheels/embed
110+ # In the interim, remove the bundled wheel 45.1
111+ # since it does not include a fix for CVE-2026-24049
112+ RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/wheel-0.45.1-py3-none-any.whl
113+
108114# Set PYTHONPATH to ensure synthtool can be found by Python scripts.
109115# Include the virtual environment's site-packages for completeness, though
110116# the PATH modification often handles this for executables run directly.
Original file line number Diff line number Diff line change @@ -110,6 +110,12 @@ RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/whee
110110RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.3-py3-none-any.whl
111111RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.0.1-py3-none-any.whl
112112
113+ # TODO: Remove this code once there is a newer version of virtualenv which does not include wheel 45.1
114+ # https://github.com/pypa/virtualenv/tree/20.36.1/src/virtualenv/seed/wheels/embed
115+ # In the interim, remove the bundled wheel 45.1
116+ # since it does not include a fix for CVE-2026-24049
117+ RUN rm -rf /opt/venv/synthtool/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/wheel-0.45.1-py3-none-any.whl
118+
113119# Set PYTHONPATH to ensure synthtool can be found by Python scripts.
114120# Include the virtual environment's site-packages for completeness.
115121ENV PYTHONPATH="/synthtool:$VIRTUAL_ENV/lib/python3.13/site-packages"
You can’t perform that action at this time.
0 commit comments