Open Redirect Affecting python2-pip package, versions <0:20.2.2-1.amzn2.0.12


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (2nd 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 Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-PYTHON2PIP-11343214
  • published31 Jul 2025
  • disclosed19 Jun 2025

Introduced: 19 Jun 2025

CVE-2025-50181  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python2-pip to version 0:20.2.2-1.amzn2.0.12 or higher.
This issue was patched in ALAS2-2025-2935.

NVD Description

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

urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.

CVSS Base Scores

version 3.1