CVSS 3.1
3.3 lowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NLow (3.3) in pypa pip. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in pip 23.3.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:Npip (PyPI): fixed in 23.3Explain CVE-2023-5752 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5752?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5752?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5752 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pypa:pip | before 23.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mq26-g339-26xf | PyPI | pip | <23.3 | 23.3 |
| PYSEC-2023-228 | PyPI | pip | <23.3 | 23.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | python-pip | 20.3.4-4+deb11u2 | DLA-4348-1 |
| Debian | 12 | python-pip | no fix listed | DEBIAN-CVE-2023-5752 |
| Debian | 13, 14 | python-pip | 23.3+dfsg-1 | DEBIAN-CVE-2023-5752 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.5.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-hub, python39-galaxy-ng, python3x-galaxy-ng | 0:4.9.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more | 0:3.9.5-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-gunicorn, python3x-gunicorn | 0:22.0.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pillow, python3x-pillow, python39-pillow-debuginfo and 1 more | 0:10.3.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pydantic, python3x-pydantic | 0:1.10.15-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-social-auth-app-django, python3x-social-auth-app-django | 0:5.4.1-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-sqlparse, python3x-sqlparse | 0:0.5.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-idna, python3x-idna | 0:3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-requests, python3x-requests | 0:2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-black, python3x-black | 0:22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-cryptography, python3x-cryptography, python39-cryptography-debuginfo and 1 more | 0:42.0.5-1.el8ap | RHSA-2024:3781 |
| 16 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Python 3 15 SP4, Linux Enterprise Module for Python 3 15 SP5 | python-pip | 22.3.1-150400.17.12.1 | SUSE-SU-2023:4988-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP6 | python312-pip | 23.2.1-150600.3.3.1 | SUSE-SU-2024:3156-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | python-pip | 10.0.1-13.14.1 | SUSE-SU-2023:4987-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | python36-pip | 20.2.4-8.15.1 | SUSE-SU-2024:0892-1 |
| openSUSE | Leap 15.4, Leap 15.5 | python-pip | 22.3.1-150400.17.12.1 | SUSE-SU-2023:4988-1 |
| openSUSE | Leap 15.6 | python312-pip | 23.2.1-150600.3.3.1 | SUSE-SU-2024:3156-1 |
| Azure Linux | 2 | python3 | 3.9.19-14 | AZL-60006 |
| Azure Linux | 3 | python3 | 3.12.3-1 | AZL-39958 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.
Red Hat rates this Low.
Mercurial is not available in RHEL 8 and 9, so the vulnerability cannot be exploited. Without mercurial installed (the hg command), pip cannot clone and install from hg+http[s] URLs.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | automation-controller-0:4.5.7-1.el8ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | automation-controller-0:4.5.7-1.el9ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 1.2 | ansible-tower | Not affected | |
| Red Hat Ansible Automation Platform 2 | python3x-pyrsistent | Not affected | |
| Red Hat Enterprise Linux 10 | python3.14-pip | Not affected | |
| Red Hat Enterprise Linux 7 | python-pip | Out of support scope | |
| Red Hat Enterprise Linux 8 | python3.12-pip | Not affected | |
| Red Hat Enterprise Linux 8 | python-pip | Not affected | |
| Red Hat Enterprise Linux 9 | python3.12-pip | Not affected | |
| Red Hat Enterprise Linux 9 | python3.14-pip | Not affected | |
| Red Hat Enterprise Linux 9 | python-pip | Not affected | |
| Red Hat Enterprise Linux 9 | python-pyrsistent | Fix deferred | |
| Red Hat OpenShift Dev Spaces | devspaces/udi-rhel8 | Fix deferred | |
| Red Hat Quay 3 | quay/quay-rhel8 | Fix deferred | |
| Service Telemetry Framework 1.5 | stf/prometheus-webhook-snmp-rhel8 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5752.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.