CVE-2023-5752

unknown
Published 2023-10-25 · Modified 2026-03-24
CVSS v3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-5752

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-5752.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormaffected
debian debianbullseyefixed20.3.4-4+deb11u2
debian debianforkyfixed23.3+dfsg-1
debian debiansidfixed23.3+dfsg-1
debian debiantrixiefixed23.3+dfsg-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIpip<23.323.3

References

Verify integrity in audit chain (admin only). AS-IS.