CVE-2023-5752
Description
When installing a package from a Mercurial VCS URL (ie "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 (ie "--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.
How to fix
- pypa pip23.3 or later
- pip23.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypa pip | v < 23.3 | 23.3 |
| pipPyPI | v < 23.3 | 23.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.