You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: clear the urllib3 and setuptools image findings #325
Trivy reports three open code-scanning alerts on dev (target "Python") in the image:
Code-scanning alert 167: urllib3 2.7.0, CVE-2026-97688, Denial of Service via infinite loop during chunked Deflate decoding (medium; fixed in 2.8.0)
Code-scanning alert 166: setuptools 70.3.0, CVE-2026-59890, MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (medium; fixed in 83.0.0)
Code-scanning alert 343: setuptools 70.3.0, GHSA-xmj3-9gf7-h52w, Windows path escape via namespace_packages.txt during legacy wheel installation (low; fixed in 84.1.0)
Root cause
None of these versions is installed as a package. uv.lock already locks urllib3 2.8.0 (installed in the image) and setuptools 84.2.1 (build stage only; the final image has no setuptools). The reported versions are the copies vendored by pip 26.2.2 of the base image (pip/_vendor/vendor.txt, pip/_vendor/bom.cdx.json): urllib3==2.7.0 and setuptools==70.3.0 (only pkg_resources). pip 26.2.2 is the latest release; pip's main branch has urllib3 2.8.0 but still setuptools 70.3.0, so they can't be bumped. pip only runs at build time, and the app imports neither pip nor its vendored packages.
Fix
Accept the three advisories in .trivyignore.yaml, limited to the vendored versions (purls), with a statement and the expiry 2027-01-31, as for the earlier advisories of pip's vendored copies and as FOCA does (elixir-cloud-aai/foca#562). Removing pip from the image, which clears all of them, stays in #279.
Activity