CVE-2019-20916
python-pip - security update
7.5
HIGH
CVSS 3.1
EPSS 0.62%
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.
How to fix CVE-2019-20916
To remediate CVE-2019-20916, upgrade the affected package to a fixed version below.
- —upgrade to 20.0.2-1 or later
- —upgrade to 9.0.1-2+deb9u2 or later
- —upgrade to 19.2 or later
- —upgrade to a4c735b14a62f9cb864533808ac63936704f2ace or later
Is CVE-2019-20916 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 20.0.2-1
- from 0, < 9.0.1-2+deb9u2
- from 0, < 19.2
- from 0, < a4c735b14a62f9cb864533808ac63936704f2ace | from 0, < 19.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |