vulnerability

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

Severity
2
CVSS
(AV:L/AC:L/Au:S/C:N/I:P/A:N)
Published
Oct 25, 2023
Added
Jul 9, 2025
Modified
Jul 10, 2025

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.

Solution

no-fix-redhat-rpm-package
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.