# CVE-2021-3572: Improper Input Validation in pip

- Severity: Medium 5.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.83%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-10T17:55:47.000Z
- Modified: 2026-10-08T21:17:40.637Z
- Also known as: GHSA-5xp3-jfq3-5q8x, PYSEC-2021-437
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- python-pip: fixed in python-pip 21.1
- pip (PyPI): before 21.1
- pypa pip: before 21.1
- oracle agile_product_lifecycle_management: 9.3.6
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 1.10.0; 22.1.0
- oracle communications_cloud_native_core_policy: 1.15.0; 22.1.3

## Every score

- GitHub: CVSS:3.1 5.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://packetstormsecurity.com/files/162712/USN-4961-1.txt> (exploit, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1962856> (issue-tracking, patch, report, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3572> (advisory)
- <https://github.com/pypa/pip/pull/9827> (web)
- <https://github.com/pypa/pip/commit/e46bdda9711392fec0c45c1175bae6db847cb30b> (web)
- <https://access.redhat.com/errata/RHSA-2021:3254> (web)
- <https://github.com/advisories/GHSA-5xp3-jfq3-5q8x> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2021-437.yaml> (web)
- <https://github.com/pypa/pip> (package)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)

## Sources

- CVE List: [CVE-2021-3572](https://www.cve.org/CVERecord?id=CVE-2021-3572), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-5xp3-jfq3-5q8x](https://github.com/advisories/GHSA-5xp3-jfq3-5q8x), CC-BY-4.0, modified 2026-03-24
- NVD: [CVE-2021-3572](https://nvd.nist.gov/vuln/detail/CVE-2021-3572), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2021-437](https://osv.dev/vulnerability/PYSEC-2021-437), CC-BY-4.0, modified 2026-03-24

---

Page: https://cve.day/CVE-2021-3572 · Whole record: https://cve.day/CVE-2021-3572.json · Rebuilt by cve.day 2026-11-25T22:58:05.482Z
