SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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.

HIGH 7.5EPSS 3.03%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (3.03%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
3.03% probability · 87th percentile
CISA KEV
Not listed
Weakness
CWE-22
Affected
pypa/pip · opensuse/leap · debian/debian linux · oracle/communications cloud native core network function cloud native environment · oracle/communications cloud native core policy
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.