We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f25e5 commit b005fbaCopy full SHA for b005fba
Dockerfile
@@ -31,4 +31,11 @@ ENV PYTHONPATH=$PYTHONPATH:.
31
COPY src /app/src
32
COPY --from=builder /app/venv /venv
33
34
+# --- Fix CVE-2025-8869: Upgrade pip in system Python and clean up ---
35
+RUN python -m pip uninstall -y pip && \
36
+ rm -rf /usr/local/lib/python3.12/site-packages/pip* && \
37
+ python -m ensurepip --upgrade && \
38
+ python -m pip install --no-cache-dir pip==25.3 && \
39
+ rm -rf /usr/local/lib/python3.12/ensurepip/_bundled/*
40
+
41
ENTRYPOINT ["python", "/app/src/disk_info.py"]
0 commit comments