NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

Improper Input Validation in pipGHSA-5xp3-jfq3-5q8x

MEDIUMFix: pypa/pip#9827

GHSA-5xp3-jfq3-5q8x is a medium-severity (CVSS 5.7) Improper Input Validation vulnerability in pip. A fix is available for pip — see the affected versions and patch details below.

Also known asCVE-2021-3572PYSEC-2021-437
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 22, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-5xp3-jfq3-5q8x.

EPSS Exploitation Probability

via FIRST.org ↗
1.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs79th percentile — riskier than 79% of all scored CVEsHighest risk
0.00%0.78%1.55%2.33%0.2%1.8%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐍pip

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIpipall versions21.1pip install --upgrade 'pip==21.1'

Affected Products

4 products · 6 configurations
Application
agile product lifecycle managementoracle
1 version
9.3.6
Application
communications cloud native core network function cloud native environmentoracle
2 versions
1.10.022.1.0
Application
communications cloud native core policyoracle
2 versions
1.15.022.1.3
Application
pippypa
< 21.1
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for pip, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update pip to 21.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5xp3-jfq3-5q8x is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatLow

This flaw has been rated as having a security impact of Low. To exploit this flaw, the attacker needs access to the repository to create a specially crafted tag and force a different revision to be installed.

ProductFixed inAdvisory
Red Hat Enterprise Linux 8python39:3.9-8050020210811100211.d428a79bRHSA-2021:4160
Red Hat Enterprise Linux 8python38:3.8-8050020210811101222.e3d35ccaRHSA-2021:4162
Red Hat Enterprise Linux 8python-pip-0:9.0.3-20.el8RHSA-2021:4455
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-babel-0:2.7.0-12.el7RHSA-2021:3254
UbuntuMEDIUM

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-5xp3-jfq3-5q8x in your dependencies?

Find it across PyPI, including transitive dependencies.

Improper Input Validation in pip (Medium 5.7)