{"schema_version":"1.7.5","id":"GHSA-5xp3-jfq3-5q8x","published":"2021-11-15T17:45:01Z","modified":"2026-03-24T01:43:49.374945Z","aliases":["CVE-2021-3572","PYSEC-2021-437"],"summary":"Improper Input Validation in pip","details":"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":[{"package":{"name":"pip","ecosystem":"PyPI","purl":"pkg:pypi/pip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.1"}]}],"versions":["0.2","0.2.1","0.3","0.3.1","0.4","0.5","0.5.1","0.6","0.6.1","0.6.2","0.6.3","0.7","0.7.1","0.7.2","0.8","0.8.1","0.8.2","0.8.3","1.0","1.0.1","1.0.2","1.1","1.2","1.2.1","1.3","1.3.1","1.4","1.4.1","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","10.0.0","10.0.0b1","10.0.0b2","10.0.1","18.0","18.1","19.0","19.0.1","19.0.2","19.0.3","19.1","19.1.1","19.2","19.2.1","19.2.2","19.2.3","19.3","19.3.1","20.0","20.0.1","20.0.2","20.1","20.1.1","20.1b1","20.2","20.2.1","20.2.2","20.2.3","20.2.4","20.2b1","20.3","20.3.1","20.3.2","20.3.3","20.3.4","20.3b1","21.0","21.0.1","6.0","6.0.1","6.0.2","6.0.3","6.0.4","6.0.5","6.0.6","6.0.7","6.0.8","6.1.0","6.1.1","7.0.0","7.0.1","7.0.2","7.0.3","7.1.0","7.1.1","7.1.2","8.0.0","8.0.1","8.0.2","8.0.3","8.1.0","8.1.1","8.1.2","9.0.0","9.0.1","9.0.2","9.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-5xp3-jfq3-5q8x/GHSA-5xp3-jfq3-5q8x.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3572"},{"type":"WEB","url":"https://github.com/pypa/pip/pull/9827"},{"type":"WEB","url":"https://github.com/pypa/pip/commit/e46bdda9711392fec0c45c1175bae6db847cb30b"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3254"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1962856"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5xp3-jfq3-5q8x"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2021-437.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/pip"},{"type":"WEB","url":"https://packetstormsecurity.com/files/162712/USN-4961-1.txt"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0006"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}],"database_specific":{"cwe_ids":["CWE-20"],"github_reviewed":true,"github_reviewed_at":"2021-11-12T19:41:47Z","nvd_published_at":"2021-11-10T18:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}