A flaw was found in python-pip in the way it handled Unicode separators in git references.
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.
- BDU:2023-03310
- GHSA-5xp3-jfq3-5q8x
- ALSA-2021:4160
- ALSA-2021:4162
- ALSA-2021:4455
- openSUSE-SU-2021:1598-1
- openSUSE-SU-2021:4001-1
- openSUSE-SU-2021:4002-1
- openSUSE-SU-2022:0064-1
- openSUSE-SU-2022:0942-1
- openSUSE-SU-2022:1091-1
- openSUSE-SU-2024:11877-1
- openSUSE-SU-2024:11878-1
- openSUSE-SU-2024:12150-1
- PYSEC-2021-437
- RHSA-2021:3254
- RHSA-2021:4160
- RHSA-2021:4162
- RHSA-2021:4455
- RLSA-2021:4160
- Published
- Nov 10, 2021
- Updated
- Aug 25, 2026
- EPSS
- 1.8% · 78th percentile
- CWE
- CWE-20
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| pypa | pip | cpe:2.3:a:pypa:pip |
| oracle | agile product lifecycle management | cpe:2.3:a:oracle:agile_product_lifecycle_management |
| oracle | communications cloud native core network function cloud native environment | cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment |
| oracle | communications cloud native core policy | cpe:2.3:a:oracle:communications_cloud_native_core_policy |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- oracle agile product lifecycle management9.3.6
- oracle communications cloud native core network function cloud native environment1.10.0
- oracle communications cloud native core network function cloud native environment22.1.0
- oracle communications cloud native core policy1.15.0
- oracle communications cloud native core policy22.1.3
- pypa pipbefore 21.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a python-pip
- fixed in python-pip 21.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | python3-pip | before 9.0.3-20.el8 | 9.0.3-20.el8 |
| AlmaLinux:8 | python38-asn1crypto | before 1.2.0-3.module_el8.6.0+2778+cd494b30 | 1.2.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-atomicwrites | before 1.3.0-8.module_el8.6.0+2778+cd494b30 | 1.3.0-8.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-attrs | before 19.3.0-3.module_el8.6.0+2778+cd494b30 | 19.3.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-babel | before 2.7.0-11.module_el8.6.0+2778+cd494b30 | 2.7.0-11.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-cffi | before 1.13.2-3.module_el8.6.0+2778+cd494b30 | 1.13.2-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-chardet | before 3.0.4-19.module_el8.6.0+2778+cd494b30 | 3.0.4-19.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-cryptography | before 2.8-3.module_el8.6.0+2778+cd494b30 | 2.8-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-Cython | before 0.29.14-4.module_el8.6.0+2778+cd494b30 | 0.29.14-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-idna | before 2.8-6.module_el8.6.0+2778+cd494b30 | 2.8-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-jinja2 | before 2.10.3-5.module_el8.6.0+2778+cd494b30 | 2.10.3-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-markupsafe | before 1.1.1-6.module_el8.6.0+2778+cd494b30 | 1.1.1-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-mod_wsgi | before 4.6.8-3.module_el8.6.0+2778+cd494b30 | 4.6.8-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-more-itertools | before 7.2.0-5.module_el8.6.0+2778+cd494b30 | 7.2.0-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-numpy | before 1.17.3-6.module_el8.6.0+2778+cd494b30 | 1.17.3-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-numpy-doc | before 1.17.3-6.module_el8.6.0+2778+cd494b30 | 1.17.3-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-numpy-f2py | before 1.17.3-6.module_el8.6.0+2778+cd494b30 | 1.17.3-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-packaging | before 19.2-3.module_el8.6.0+2778+cd494b30 | 19.2-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pluggy | before 0.13.0-3.module_el8.6.0+2778+cd494b30 | 0.13.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-ply | before 3.11-10.module_el8.6.0+2778+cd494b30 | 3.11-10.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-psutil | before 5.6.4-4.module_el8.6.0+2778+cd494b30 | 5.6.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-psycopg2 | before 2.8.4-4.module_el8.6.0+2778+cd494b30 | 2.8.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-psycopg2-doc | before 2.8.4-4.module_el8.6.0+2778+cd494b30 | 2.8.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-psycopg2-tests | before 2.8.4-4.module_el8.6.0+2778+cd494b30 | 2.8.4-4.module_el8.6.0+2778+cd494b30 |
+96
Same product
pypa: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-20225An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended32Monitor
- CVE-2019-20916The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition h31Monitor
- CVE-2013-1629pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which all29Monitor
- CVE-2013-5123The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers25Monitor
- CVE-2026-13346pip absolute path traversal during download from malicious package indexes22Monitor
- CVE-2026-8643pip can extract console_scripts and gui_scripts outside installation directory16Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-cryptography | 3.3.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-idna | 2.10-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-iniconfig | 1.1.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-mod_wsgi | 4.7.1-4.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-more-itertools | 8.5.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-numpy | 1.19.4-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-numpy-doc | 1.19.4-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| debian:python-pip | 20.3.4-2 · Debian:12 | Package registry (OSV) |
| opensuse:python | 2.7.18-150000.38.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python-pip | 10.0.1-lp152.4.9.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:python-pip-wheel | 10.0.1-lp152.4.9.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:python3 | 3.6.15-150300.10.21.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python3-core | 3.6.15-150300.10.21.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python3-documentation | 3.6.15-150300.10.21.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python39 | 3.9.10-150300.4.8.2 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python39-core | 3.9.10-150300.4.8.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python39-documentation | 3.9.10-150300.4.8.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python39-pip | 20.2.4-7.8.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| PyPI:pip | 21.1 | Package registry (OSV) |
| red hat:rh-python38-babel | 0:2.7.0-12.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-babel | 0:2.7.0-12.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-cryptography | 0:2.8-5.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-cryptography-debuginfo | 0:2.8-5.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-debug | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
+31
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:2 | 2021-06-07 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-157 d
- Published
- TodaySep 30, 2026+1785 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugzilla.redhat.com/show_bug.cgi?id=1962856
- security.netapp.com/advisory/ntap-20240621-0006/
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.