Repository navigation
Conversation
Upstream is not updating the pip bundled with 3.11 and 3.12, and its vendored "certifi" bundle still trusts a compromised CA. Apply Debian's "certifi-debian-ca-certificates" patch (downloaded via a raw URL pinned to a Debian commit and verified by checksum, with the Debian branding adjusted on Alpine) to both the installed pip and the bundled "ensurepip" wheel so new venvs are covered too. Keyed on the exact versions so any upstream update drops it automatically.
|
As seen in the discussion (https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576/19), these old pip versions are subject to other vulnerabilities and it is recommended to use the latest |
|
I think python/cpython#160040 if backported to 3.11 and 3.12, will protect older pip against the older certifi bundled within it, making this PR no longer needed? |
|
Yeah this is now redundant after: |
|
Fair enough 👍 |
|
(it's probably worth considering whether we should apply this patch all the time across all versions in the future, but that's not as obvious a call as this was 👍) |
|
Yeah agree it would be good for pip to depend on the system |
Upstream is not updating the pip bundled with 3.11 and 3.12, and its vendored "certifi" bundle still trusts a compromised CA. Apply Debian's "certifi-debian-ca-certificates" patch (downloaded via a raw URL pinned to a Debian commit and verified by checksum, with the Debian branding adjusted on Alpine) to both the installed pip and the bundled "ensurepip" wheel so new venvs are covered too. Keyed on the exact versions so any upstream update drops it automatically.
Refs: