RCE in Pip Maintainers
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"). Cont…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.001 (22.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Pip Maintainers — versions 23.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/pypa/pip/pull/12306 (patch)
- mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVH… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
Frequently asked questions
- What is CVE-2023-5752?
- CVE-2023-5752 is a medium-severity vulnerability in Pip Maintainers, classified under Command Injection. CVSS score: 5.5/10. Published 2023-10-24.
- How severe is CVE-2023-5752?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2023-5752 known to be exploited?
- 20 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.