Open Redirect Affecting python-pip package, versions <9.0.1-2.3~ubuntu1.18.04.8+esm2


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.52% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-PYTHONPIP-6021498
  • published12 Jul 2025
  • disclosed15 Oct 2023

Introduced: 15 Oct 2023

CVE-2018-25091  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 python-pip to version 9.0.1-2.3~ubuntu1.18.04.8+esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-pip package and not the python-pip package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

urllib3 before 1.24.2 does not remove the authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).

CVSS Base Scores

version 3.1