HIGH 7.5 PyPI
Path Traversal in pip
GHSA-gpvv-69j7-gwj8 · CVE-2019-20916 · PYSEC-2020-173
Published · Modified
Description
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. A fix was committed 6704f2ace.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2019-20916
- WEB https://github.com/pypa/pip/issues/6413
- WEB https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace
- ADVISORY https://github.com/advisories/GHSA-gpvv-69j7-gwj8
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2020-173.yaml
- WEB https://github.com/pypa/pip
- WEB https://github.com/pypa/pip/compare/19.1.1...19.2
- WEB https://lists.debian.org/debian-lts-announce/2020/09/msg00010.html
- WEB https://www.oracle.com/security-alerts/cpuapr2022.html
- WEB https://www.oracle.com/security-alerts/cpujul2022.html
- WEB http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html
- WEB http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html
Ready to move
Start Securing
Free, no credit card | First findings in minutes