5.5

CVE-2023-5752: Mercurial configuration injectable in repo revision when installing via pip

Modified
AliasesMGASA-2025-0055SUSE-SU-2023:4987-1SUSE-SU-2023:4988-1
Published 24-10-2023Last modified 03-11-2025

Vulnerability summary

CVE-2023-5752 is a medium (CVSS 5.5) vulnerability in pypa pip. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 43% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.50%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 4

Timeline

  1. 24-10-2023
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.50%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.48% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse7 products
  • python-pip&distro=SUSE Linux Enterprise Module for Python 3 15 SP4< 22.3.1-150400.17.12.1
  • python-pip&distro=SUSE Linux Enterprise Module for Python 3 15 SP5< 22.3.1-150400.17.12.1
  • python-pip&distro=SUSE Linux Enterprise Server 12 SP5< 10.0.1-13.14.1
  • python-pip&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 10.0.1-13.14.1
  • python312-pip&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 23.2.1-150600.3.3.1
Chainguard4 products
  • graalvm-24-graalpyAll versions (No fix recorded)
  • graalvm-24-graalpy-venvAll versions (No fix recorded)
  • jwt-tool< 2.2.7-r0
  • k8s-sidecar-1.22< 1.22.4-r2
Opensuse3 products
  • python-pip&distro=openSUSE Leap 15.4< 22.3.1-150400.17.12.1
  • python-pip&distro=openSUSE Leap 15.5< 22.3.1-150400.17.12.1
  • python312-pip&distro=openSUSE Leap 15.6< 23.2.1-150600.3.3.1
Debian1 product
  • python-pipAll versions (No fix recorded) | < 23.3+dfsg-1
Mageia1 product
  • python-pip< 23.0.1-1.1.mga9
Pypa1 product
PyPI1 product
  • pip< 23.3
Ubuntu1 product
  • python-pipAll versions (No fix recorded)
Wolfi1 product
  • jwt-tool< 2.2.7-r0

9 vendors · 20 products

References

33 links
Show all 33 references