Advisory

GHSA-5xp3-jfq3-5q8x

Also known as: 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-11-15 17:45 UTC
Modified
2026-03-24 01:43 UTC

Affected packages and fixes

pip

PyPI · All systems

Affected

  • introduced 0, fixed 21.1 (ecosystem)

Fixed versions

21.1

Fix

  • Fixed version 21.1
    pip install --upgrade pip==21.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences