CVE-2023-5752

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductPypa Pip
PublishedOct 25, 2023
First seenOct 25, 2023

How to fix

Affected products

ProductAffected versionsFixed in
pypa pipv < 23.323.3
pipPyPIv < 23.323.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-5752 · Pypa Pip · Dark Radar