Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-5752

published medium CVSS 3.1 · 5.5

Mercurial configuration injectable in repo revision when installing via pip

Published
24 Oct 2023, 20:56:05 UTC
Updated
03 Nov 2025, 17:31:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Pip maintainers — pip23.3 · Other versions: affected Unaffected Not stated PSF
Amazon Linux AL2 Release evaluationALAS2-2023-2349 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-442 Fixed Not stated Amazon Linux assessment
Debian bullseye python-pip Advisory build 20.3.4-4+deb11u2 DLA-4348-1
SUSE / openSUSE SLE-12-SP5 python-pipnoarch Advisory build 10.0.1-13.14.1 SUSE-SU-2023:4987-1
Amazon Linux AL2 python-pipnoarch Listed in advisory Not stated ALAS2-2023-2349
SUSE / openSUSE SLE-12-SP5 python3-pipnoarch Advisory build 10.0.1-13.14.1 SUSE-SU-2023:4987-1
SUSE / openSUSE SLE-12-SP5 python36-pipnoarch Advisory build 20.2.4-8.15.1 SUSE-SU-2024:0892-1
Show 24 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP4 python311-pipnoarch Advisory build 22.3.1-150400.17.12.1 SUSE-SU-2023:4988-1
SUSE / openSUSE SLE-15-SP5 python311-pipnoarch Advisory build 22.3.1-150400.17.12.1 SUSE-SU-2023:4988-1
SUSE / openSUSE SLE-15-SP6 python312-pipnoarch Advisory build 23.2.1-150600.3.3.1 SUSE-SU-2024:3156-1
SUSE / openSUSE SLE-3-SP4 python311-pipnoarch Advisory build 22.3.1-150400.17.12.1 SUSE-SU-2023:4988-1
SUSE / openSUSE SLE-3-SP5 python311-pipnoarch Advisory build 22.3.1-150400.17.12.1 SUSE-SU-2023:4988-1
SUSE / openSUSE SLE-3-SP6 python312-pipnoarch Advisory build 23.2.1-150600.3.3.1 SUSE-SU-2024:3156-1
SUSE / openSUSE openSUSE-Leap-15.4 python311-pipnoarch Advisory build 22.3.1-150400.17.12.1 SUSE-SU-2023:4988-1
SUSE / openSUSE openSUSE-Leap-15.5 python311-pipnoarch Advisory build 22.3.1-150400.17.12.1 SUSE-SU-2023:4988-1
SUSE / openSUSE openSUSE-Leap-15.6 python312-pipnoarch Advisory build 23.2.1-150600.3.3.1 SUSE-SU-2024:3156-1
SUSE / openSUSE openSUSE-Tumbleweed python310-pipaarch64 Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python310-pipppc64le Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python310-pips390x Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python310-pipx86_64 Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pipaarch64 Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pipppc64le Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pips390x Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python311-pipx86_64 Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python39-pipaarch64 Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python39-pipppc64le Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python39-pips390x Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
SUSE / openSUSE openSUSE-Tumbleweed python39-pipx86_64 Advisory build 23.3.1-1.1 OPENSUSE-SU-2024:13454-1
Amazon Linux AL2 python-pipsrc Listed in advisory Not stated ALAS2-2023-2349
Amazon Linux AL2023 python-pipnoarch Listed in advisory Not stated ALAS2023-2023-442
Amazon Linux AL2023 python-pipsrc Listed in advisory Not stated ALAS2023-2023-442

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.

en · PSF · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
PSF · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Pip maintainers pip 23.3 (unaffected)Default: affected PSF · cna

Weaknesses

1
  • CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') (PSF · cna)

References

8

Provider assertions

3

PSF · cna

Mercurial configuration injectable in repo revision when installing via pip

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
5d4c1e5c134a532c2078ac7b5f187af3fcf131d7f120b5b586f3297458dde50c
Ingested
23 Sep 2026, 08:15:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected