CVE-2023-5752

Summary

CVECVE-2023-5752
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-25 18:17:00 UTC
Updated2023-11-03 14:55:00 UTC
DescriptionWhen 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.

Risk And Classification

Problem Types: CWE-77

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Pypa Pip All All All All

References

ReferenceSourceLinkTags
Mailman 3 [CVE-2023-5752] Mercurial configuration injectable in repo revision when installing via pip - Security-announce - python.org MISC mail.python.org
Use `-r=...` instead of `-r ...` for VCS CLI by pradyunsg · Pull Request #12306 · pypa/pip · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296106 Oracle Solaris 11.4 Support Repository Update (SRU) 64.157.2 Missing (CPUOCT2023)
  • 356760 Amazon Linux Security Advisory for python-pip : ALAS2-2023-2349
  • 356910 Amazon Linux Security Advisory for python-pip : ALAS2023-2023-442
  • 755545 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755546 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4987-1)
  • 755569 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755570 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755571 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755572 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755573 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755574 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755575 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755580 SUSE Enterprise Linux Security Update for python-pip (SUSE-SU-2023:4988-1)
  • 755980 SUSE Enterprise Linux Security Update for python36-pip (SUSE-SU-2024:0892-1)
  • 995818 Python (Pip) Security Update for pip (GHSA-mq26-g339-26xf)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report