pip
Affected
- introduced
0, fixed23.3(ecosystem)
Fixed versions
23.3
Fix
- Fixed version
23.3pip install --upgrade pip==23.3
Advisory
Also known as: CVE-2023-5752, PYSEC-2023-228
Command Injection in pip when used with Mercurial
When installing a package from a Mercurial VCS URL, e.g. pip install hg+..., with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the hg clone call (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.
Medium Basis: The source's own band: MODERATE
0, fixed 23.3 (ecosystem)23.3
23.3pip install --upgrade pip==23.3Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0