CVE-2021-3572
A public proof of concept exists; no exploitation attested.
- Published2021-11-10
- WeaknessCWE-20
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2021-11-1018:15CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.10 | = 1.10.0 | no fix published | NVD |
| 22.1 | = 22.1.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.15 | = 1.15.0 | no fix published | NVD |
| 22.1 | = 22.1.3 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.3 | = 9.3.6 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- python-pipAffected
- = fixed in python-pip 21.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-21
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- babelRocky Linux:8all versions · fixed in 0:2.7.0-11.module+el8.5.0+672+ab6eb015
- babelRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.7.0-11.module+el8.5.0+11015+9c1c7c42and 1 other package
- CythonRocky Linux:8all versions · fixed in 0:0.29.14-4.module+el8.4.0+570+c2eaf144
- CythonRocky Linux:8all versions · fixed in 0:0.29.21-5.module+el8.4.0+574+843c4898
- CythonRed Hat:enterprise_linux:8::crball versions · fixed in 0:0.29.21-5.module+el8.4.0+9822+20bf1249and 3 other packages
- CythonRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:0.29.14-4.module+el8.4.0+8888+89bc7e79and 3 other packages
- mod_wsgiRocky Linux:8all versions · fixed in 0:4.6.8-3.module+el8.4.0+570+c2eaf144
- mod_wsgiRocky Linux:8all versions · fixed in 0:4.7.1-4.module+el8.4.0+574+843c4898
302 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: python39:3.9 and python39-devel:3.9 security update
Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update
Red Hat Security Advisory: rh-python38 security, bug fix, and enhancement update
Fix
- Vendor fix Red Hat Product Security RHSA-2021:4160 · 229 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- bugzilla.redhat.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01frenzymadness/CVE-2021-3572
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-10-08
- NVDCVSS 3.15.7read 2026-10-23
- NVDCVSS 2.03.5read 2026-10-23
- CNAweakness (CWE)CWE-20known since 2026-10-23
- FIRST EPSSEPSS score1.8 %2026-11-08
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2021-11-12
Identifiers
- AZL-86103same flawAzure Linux · MIT
- EUVD-2021-0186same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5xp3-jfq3-5q8xsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2021-437same flawPyPA Advisory Database · CC-BY-4.0
- ALSA-2021:4160advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:4162advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:4455advisory covering several CVEsAlmaLinux · MIT
- MGASA-2021-0371advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1284advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:1598-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:4001-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:4002-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2022:0064-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2022:0942-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2022:1091-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11877-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11878-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12150-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:3254advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4160advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4162advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4455advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:4160advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:4162advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2021:2304-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2441-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:4001-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:4002-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:4051-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0060-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0064-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0942-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0942-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1044-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1091-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1094-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1485-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2351-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-4961-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- Published
- 2021-11-10
- Last Modified
- 2026-10-08
- NVD status
- Modified
- GitHub Advisory
- GHSA-5xp3-jfq3-5q8x
Frequently asked questions
What is CVE-2021-3572?
Is CVE-2021-3572 actively exploited?
What is the CVSS score for CVE-2021-3572?
Running pip? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5xp3-jfq3-5q8x
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0