Overview
About vulnerability
pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk even when installing wheels.
This vulnerability requires downloading or installing a package from a malicious package index to succeed, malicious packages alone are not able to exploit this vulnerability. Note that this vulnerability only materially impacts users running pip download with the --only-binary option as installing source distributions from an untrusted index is already an unsafe operation that executes code during install time.
Details
- Affected product:
- Alpine Linux 3.23 , Alpine Linux 3.24 , Amazon Linux 2 ELS , CentOS 7 ELS , Debian 10 , Debian 11 , Debian 11 ELS , Debian 12 , Debian 13 , EL 10 , EL 7 , EL 8 , EL 9 , Oracle Linux 7 ELS , Ubuntu 16.04 , Ubuntu 18.04 , Ubuntu 20.04 , Ubuntu 22.04 , Ubuntu 24.04 , pip
- Affected packages:
- alt-python312-pip @ 23.3.1 (+135 more)