Name | CVE-2019-20916 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2370-1, ELA-281-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-pip (PTS) | jessie, jessie (lts) | 1.5.6-5+deb8u2 | fixed |
stretch (security), stretch (lts), stretch | 9.0.1-2+deb9u2 | fixed | |
buster | 18.1-5 | vulnerable | |
bullseye | 20.3.4-4+deb11u1 | fixed | |
bookworm | 23.0.1+dfsg-1 | fixed | |
sid, trixie | 24.3.1+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-pip | source | jessie | 1.5.6-5+deb8u1 | ELA-281-1 | ||
python-pip | source | stretch | 9.0.1-2+deb9u2 | DLA-2370-1 | ||
python-pip | source | (unstable) | 20.0.2-1 |
[buster] - python-pip <no-dsa> (Minor issue)
https://github.com/pypa/pip/issues/6413
https://github.com/pypa/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace (19.2)