Vulnerability
CVE-2019-20916
The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as demonstrated by overwriting the /root/.ssh/authorized_keys file. This occurs in _download_http_url in _internal/download.py.
60 advisories report this vulnerability, across 10 ecosystems.
Advisories in openSUSE
-
SUSE-SU-2022:1454-1
Security update for python-pip
-
openSUSE-SU-2020:1598-1
Security update for python-pip
-
openSUSE-SU-2020:1613-1
Security update for python-pip
-
openSUSE-SU-2020:2143-1
Security update for python-setuptools
-
openSUSE-SU-2020:2152-1
Security update for python3
-
openSUSE-SU-2020:2169-1
Security update for python-pip
-
openSUSE-SU-2020:2184-1
Security update for python-pip
-
openSUSE-SU-2020:2185-1
Security update for python-setuptools
-
openSUSE-SU-2020:2189-1
Security update for python
-
openSUSE-SU-2020:2190-1
Security update for python3
-
openSUSE-SU-2020:2211-1
Security update for python
-
openSUSE-SU-2021:0270-1
Security update for python
-
openSUSE-SU-2021:0331-1
Security update for python3
-
openSUSE-SU-2024:11272-1
python36-setuptools-57.4.0-1.2 on GA media
-
openSUSE-SU-2024:11284-1
python36-3.6.15-1.1 on GA media
-
openSUSE-SU-2024:11285-1
python38-3.8.12-1.2 on GA media
-
openSUSE-SU-2024:11551-1
python-2.7.18-9.1 on GA media
-
openSUSE-SU-2024:14029-1
python310-setuptools-70.0.0-1.1 on GA media
References
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html
- https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace
- https://github.com/pypa/pip/compare/19.1.1...19.2
- https://github.com/pypa/pip/issues/6413
- https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html