{"ecosystem":"pypi","package":"pip","version":null,"bugs":[{"id":399,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"19.2","bug_id":"osv:GHSA-gpvv-69j7-gwj8","title":"Path Traversal in pip","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.","severity":"high","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20916","labels":["CVE-2019-20916","PYSEC-2020-173"],"created_at":"2026-04-19T04:31:27.046885+00:00","updated_at":"2026-04-19T04:31:27.046885+00:00"},{"id":398,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"1.3","bug_id":"osv:GHSA-g3p5-fjj9-h8gj","title":"Improper Input Validation in pip","description":"pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which allows man-in-the-middle attackers to execute arbitrary code via a crafted response to a \"pip install\" operation.","severity":"high","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1629","labels":["CVE-2013-1629","PYSEC-2013-8"],"created_at":"2026-04-19T04:31:27.046055+00:00","updated_at":"2026-04-19T04:31:27.046055+00:00"},{"id":397,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"1.5","bug_id":"osv:GHSA-c5h8-cq4v-cvfm","title":"Improper Authentication in pip","description":"The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers to perform man-in-the-middle attacks.","severity":"high","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2013-5123","labels":["CVE-2013-5123","PYSEC-2019-160"],"created_at":"2026-04-19T04:31:27.045402+00:00","updated_at":"2026-04-19T04:31:27.045402+00:00"},{"id":395,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"21.1","bug_id":"osv:GHSA-5xp3-jfq3-5q8x","title":"Improper Input Validation in pip","description":"A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could possibly use this issue to install a different revision on a repository. The highest threat from this vulnerability is to data integrity. This is fixed in python-pip version 21.1.","severity":"high","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3572","labels":["CVE-2021-3572","PYSEC-2021-437"],"created_at":"2026-04-19T04:31:27.044023+00:00","updated_at":"2026-04-19T04:31:27.044023+00:00"},{"id":407,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"23.3","bug_id":"osv:PYSEC-2023-228","title":"PYSEC-2023-228: advisory","description":"When installing a package from a Mercurial VCS URL  (ie \"pip install \nhg+...\") with pip prior to v23.3, the specified Mercurial revision could\n be used to inject arbitrary configuration options to the \"hg clone\" \ncall (ie \"--config\"). Controlling the Mercurial configuration can modify\n how and which repository is installed. This vulnerability does not \naffect users who aren't installing from Mercurial.\n","severity":"medium","status":"fixed","source":"osv","source_url":"https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL/","labels":["CVE-2023-5752","GHSA-mq26-g339-26xf"],"created_at":"2026-04-19T04:31:27.052433+00:00","updated_at":"2026-04-19T04:31:27.052433+00:00"},{"id":406,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"21.1","bug_id":"osv:PYSEC-2021-437","title":"PYSEC-2021-437: advisory","description":"A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could possibly use this issue to install a different revision on a repository. The highest threat from this vulnerability is to data integrity. This is fixed in python-pip version 21.1.","severity":"medium","status":"fixed","source":"osv","source_url":"https://bugzilla.redhat.com/show_bug.cgi?id=1962856","labels":["CVE-2021-3572","GHSA-5xp3-jfq3-5q8x"],"created_at":"2026-04-19T04:31:27.051770+00:00","updated_at":"2026-04-19T04:31:27.051770+00:00"},{"id":405,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"a4c735b14a62f9cb864533808ac63936704f2ace","bug_id":"osv:PYSEC-2020-173","title":"PYSEC-2020-173: advisory","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.","severity":"medium","status":"fixed","source":"osv","source_url":"https://github.com/pypa/pip/issues/6413","labels":["CVE-2019-20916","GHSA-gpvv-69j7-gwj8"],"created_at":"2026-04-19T04:31:27.050972+00:00","updated_at":"2026-04-19T04:31:27.050972+00:00"},{"id":404,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"1.5","bug_id":"osv:PYSEC-2019-160","title":"PYSEC-2019-160: advisory","description":"The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers to perform man-in-the-middle attacks.","severity":"medium","status":"fixed","source":"osv","source_url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155248.html","labels":["CVE-2013-5123","GHSA-c5h8-cq4v-cvfm"],"created_at":"2026-04-19T04:31:27.050130+00:00","updated_at":"2026-04-19T04:31:27.050130+00:00"},{"id":403,"ecosystem":"pypi","package_name":"pip","affected_version":"1.3","fixed_version":"6.0","bug_id":"osv:PYSEC-2014-11","title":"PYSEC-2014-11: advisory","description":"pip 1.3 through 1.5.6 allows local users to cause a denial of service (prevention of package installation) by creating a /tmp/pip-build-* file for another user.","severity":"medium","status":"fixed","source":"osv","source_url":"https://github.com/pypa/pip/pull/2122","labels":["CVE-2014-8991","GHSA-53mr-44pp-crf4"],"created_at":"2026-04-19T04:31:27.049476+00:00","updated_at":"2026-04-19T04:31:27.049476+00:00"},{"id":402,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"1.3","bug_id":"osv:PYSEC-2013-9","title":"PYSEC-2013-9: advisory","description":"pip before 1.3 allows local users to overwrite arbitrary files via a symlink attack on a file in the /tmp/pip-build temporary directory.","severity":"medium","status":"fixed","source":"osv","source_url":"http://www.openwall.com/lists/oss-security/2013/03/22/10","labels":["CVE-2013-1888","GHSA-4gv5-qhvr-36vv"],"created_at":"2026-04-19T04:31:27.048924+00:00","updated_at":"2026-04-19T04:31:27.048924+00:00"},{"id":401,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"1.3","bug_id":"osv:PYSEC-2013-8","title":"PYSEC-2013-8: advisory","description":"pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which allows man-in-the-middle attackers to execute arbitrary code via a crafted response to a \"pip install\" operation.","severity":"medium","status":"fixed","source":"osv","source_url":"https://github.com/pypa/pip/issues/425","labels":["CVE-2013-1629","GHSA-g3p5-fjj9-h8gj"],"created_at":"2026-04-19T04:31:27.048338+00:00","updated_at":"2026-04-19T04:31:27.048338+00:00"},{"id":400,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"23.3","bug_id":"osv:GHSA-mq26-g339-26xf","title":"Command Injection in pip when used with Mercurial","description":"When installing a package from a Mercurial VCS URL, e.g. `pip install hg+...`, with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the `hg clone` call (e.g. `--config`). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.","severity":"medium","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5752","labels":["CVE-2023-5752","PYSEC-2023-228"],"created_at":"2026-04-19T04:31:27.047452+00:00","updated_at":"2026-04-19T04:31:27.047452+00:00"},{"id":394,"ecosystem":"pypi","package_name":"pip","affected_version":"1.3","fixed_version":"6.0","bug_id":"osv:GHSA-53mr-44pp-crf4","title":"pip lack of randomness in build directory","description":"pip 1.3 through 1.5.6 allows local users to cause a denial of service (prevention of package installation) by creating a `/tmp/pip-build-*` file for another user.","severity":"medium","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2014-8991","labels":["CVE-2014-8991","PYSEC-2014-11"],"created_at":"2026-04-19T04:31:27.043169+00:00","updated_at":"2026-04-19T04:31:27.043169+00:00"},{"id":393,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"25.3","bug_id":"osv:GHSA-4xh5-x5gv-qwph","title":"pip's fallback tar extraction doesn't check symbolic links point to extraction directory","description":"When extracting a tar archive pip may not check symbolic links point into the extraction directory if the tarfile module doesn't implement PEP 706. Note that upgrading pip to a \"fixed\" version for this vulnerability doesn't fix all known vulnerabilities that are remediated by using a Python version that implements PEP 706. Note that this is a vulnerability in pip's fallback implementation of tar extraction for Python versions that don't implement PEP 706 and therefore are not secure to all vulnerabilities in the Python 'tarfile' module. If you're using a Python version that implements PEP 706 then pip doesn't use the \"vulnerable\" fallback code. Mitigations include upgrading to a version of pip that includes the fix, upgrading to a Python version that implements PEP 706 (Python >=3.9.17, >=3.10.12, >=3.11.4, or >=3.12), applying the linked patch, or inspecting source distributions (sdists) before installation as is already a best-practice.","severity":"medium","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8869","labels":["CVE-2025-8869"],"created_at":"2026-04-19T04:31:27.041863+00:00","updated_at":"2026-04-19T04:31:27.041863+00:00"},{"id":392,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"1.3","bug_id":"osv:GHSA-4gv5-qhvr-36vv","title":"Improper Link Resolution Before File Access in pip","description":"pip before 1.3 allows local users to overwrite arbitrary files via a symlink attack on a file in the /tmp/pip-build temporary directory.","severity":"medium","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1888","labels":["CVE-2013-1888","PYSEC-2013-9"],"created_at":"2026-04-19T04:31:27.041164+00:00","updated_at":"2026-04-19T04:31:27.041164+00:00"},{"id":391,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"25.2+echo.1","bug_id":"osv:ECHO-ffe1-1d3c-d9bc","title":"ECHO-ffe1-1d3c-d9bc: advisory","description":null,"severity":"medium","status":"fixed","source":"osv","source_url":"https://advisory.echohq.com/cve/CVE-2025-8869","labels":[],"created_at":"2026-04-19T04:31:27.040360+00:00","updated_at":"2026-04-19T04:31:27.040360+00:00"},{"id":390,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"25.2+echo.1","bug_id":"osv:ECHO-7db2-03aa-5591","title":"ECHO-7db2-03aa-5591: advisory","description":null,"severity":"medium","status":"fixed","source":"osv","source_url":"https://advisory.echohq.com/cve/CVE-2026-1703","labels":[],"created_at":"2026-04-19T04:31:27.038836+00:00","updated_at":"2026-04-19T04:31:27.038836+00:00"},{"id":396,"ecosystem":"pypi","package_name":"pip","affected_version":null,"fixed_version":"26.0","bug_id":"osv:GHSA-6vgw-5pg2-w6jp","title":"pip Path Traversal vulnerability","description":"When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory. The path traversal is limited to prefixes of the installation directory, thus isn't able to inject or overwrite executable files in typical situations.","severity":"low","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1703","labels":["CVE-2026-1703"],"created_at":"2026-04-19T04:31:27.044736+00:00","updated_at":"2026-04-19T04:31:27.044736+00:00"}],"total":18,"_cache":"miss"}