CVE-2023-5752
python-pip - security update
5.5
MEDIUM
CVSS 3.1
EPSS 0.07%
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.
How to fix CVE-2023-5752
To remediate CVE-2023-5752, upgrade the affected package to a fixed version below.
- —upgrade to 20.3.4-4+deb11u2 or later
- —upgrade to 20.3.4-4+deb11u2 or later
- —upgrade to 23.3 or later
- —upgrade to 23.3 or later
Is CVE-2023-5752 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 20.3.4-4+deb11u2
- from 0, < 20.3.4-4+deb11u2
- from 0, < 23.3
- from 0, < 23.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |