CVE-2023-5752
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.
Published:Oct 24, 2023
Last Modified:Nov 3, 2025
EPS:Oct 24, 2023
EPSS Score:0.00089
CVSS Score:5.5
Affected Products
Vendor
Product
Action
Vendor
Pypa
Product
Pip
Pypa
Pip
Vendor
Redhat
Product
Ansible Automation Platform
Redhat
Ansible Automation Platform
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
