
CVE catalog
CVE-2023-5752
python-pip: CVE-2023-5752
- Severity
- Low · CVSS 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.50% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-pip | sid | 26.2.2+dfsg-1 | fixed |
| Debian | python-pip | forky | 26.2.2+dfsg-1 | fixed |
| Debian | python-pip | trixie | 25.1.1+dfsg-1 | fixed |
| Debian | python-pip | bookworm | 23.0.1+dfsg-1 | vulnerable |
| PyPI | pip | Not reported | 23.3 | fixed |
| PyPI | pip | Not reported | 23.3 | fixed |
| Suse | python-pip | linux enterprise module for python 3 15 sp4 | 22.3.1-150400.17.12.1 | fixed |
| Suse | python-pip | linux enterprise module for python 3 15 sp5 | 22.3.1-150400.17.12.1 | fixed |
| Opensuse | python-pip | leap 15.4 | 22.3.1-150400.17.12.1 | fixed |
| Opensuse | python-pip | leap 15.5 | 22.3.1-150400.17.12.1 | fixed |
| Suse | python312-pip | linux enterprise module for python 3 15 sp6 | 23.2.1-150600.3.3.1 | fixed |
| Opensuse | python312-pip | leap 15.6 | 23.2.1-150600.3.3.1 | fixed |
| Suse | python36-pip | linux enterprise server 12 sp5 | 20.2.4-8.15.1 | fixed |
| Suse | python36-pip | linux enterprise server for sap applications 12 sp5 | 20.2.4-8.15.1 | fixed |
| Suse | python-pip | linux enterprise server 12 sp5 | 10.0.1-13.14.1 | fixed |
| Suse | python-pip | linux enterprise server for sap applications 12 sp5 | 10.0.1-13.14.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-pip | source | sid | 23.3+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | python-pip | source | forky | 23.3+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | python-pip | source | trixie | 23.3+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | python-pip | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| PyPI | pip | PyPI | Not reported | 23.3 | Not reported | GHSA-MQ26-G339-26XF | Not reported |
| PyPI | pip | PyPI | Not reported | 23.3 | Not reported | PYSEC-2023-228 | Not reported |
| Suse | python-pip | rpm | linux enterprise module for python 3 15 sp4 | 22.3.1-150400.17.12.1 | Not reported | SUSE-SU-2023:4988-1 | Not reported |
| Suse | python-pip | rpm | linux enterprise module for python 3 15 sp5 | 22.3.1-150400.17.12.1 | Not reported | SUSE-SU-2023:4988-1 | Not reported |
| Opensuse | python-pip | rpm | leap 15.4 | 22.3.1-150400.17.12.1 | Not reported | SUSE-SU-2023:4988-1 | Not reported |
| Opensuse | python-pip | rpm | leap 15.5 | 22.3.1-150400.17.12.1 | Not reported | SUSE-SU-2023:4988-1 | Not reported |
| Suse | python312-pip | rpm | linux enterprise module for python 3 15 sp6 | 23.2.1-150600.3.3.1 | Not reported | SUSE-SU-2024:3156-1 | Not reported |
| Opensuse | python312-pip | rpm | leap 15.6 | 23.2.1-150600.3.3.1 | Not reported | SUSE-SU-2024:3156-1 | Not reported |
| Suse | python36-pip | rpm | linux enterprise server 12 sp5 | 20.2.4-8.15.1 | Not reported | SUSE-SU-2024:0892-1 | Not reported |
| Suse | python36-pip | rpm | linux enterprise server for sap applications 12 sp5 | 20.2.4-8.15.1 | Not reported | SUSE-SU-2024:0892-1 | Not reported |
| Suse | python-pip | rpm | linux enterprise server 12 sp5 | 10.0.1-13.14.1 | Not reported | SUSE-SU-2023:4987-1 | Not reported |
| Suse | python-pip | rpm | linux enterprise server for sap applications 12 sp5 | 10.0.1-13.14.1 | Not reported | SUSE-SU-2023:4987-1 | Not reported |
Notes
[bookworm] python-pip: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_4987-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-5752]
- [https://osv.dev/vulnerability/DLA-4348-1]
- [https://osv.dev/vulnerability/GHSA-mq26-g339-26xf]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4987-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4988-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:0892-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:3156-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-5752]
- [https://security-tracker.debian.org/tracker/CVE-2023-5752]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-5752.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0778.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]