ADVISORIES

Red Hat VEX

RHVEX-CVE-2023-5752

pip: Mercurial configuration injectable in repo revision when installing via pip

Low No fix available CVE-2023-5752

Details

A flaw was found in the Python pip package. The pip could allow a local authenticated attacker to bypass security restrictions due to a flaw when installing a package from a Mercurial VCS URL. By sending a specially crafted request, an attacker can inject arbitrary configuration options to the "hg clone" call to modify how and which repository is installed.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7python-pip
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python3-pip
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:9python3-pyrsistent
All versions, no fix (fix deferred)

References