CVE-2019-20916
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.5
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 20.0.2-1 |
| sid | Fixed | 20.0.2-1 |
| forky | Fixed | 20.0.2-1 |
| bullseye | Fixed | 20.0.2-1 |
| bookworm | Fixed | 20.0.2-1 |
Red Hat Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-20916
- https://github.com/pypa/pip/issues/6413
- https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace
- https://github.com/advisories/GHSA-gpvv-69j7-gwj8
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2020-173.yaml
- https://github.com/pypa/pip
- https://github.com/pypa/pip/compare/19.1.1...19.2
- 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
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html
- https://www.suse.com/security/cve/CVE-2019-20916.html
- https://errata.rockylinux.org/RLSA-2020:4654
- https://security-tracker.debian.org/tracker/CVE-2019-20916
- https://errata.almalinux.org/8/ALSA-2020-4654.html
- https://access.redhat.com/errata/RHSA-2020:4432
- https://access.redhat.com/errata/RHSA-2020:4654
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.