pip: arbitrary configuration injection A vulnerability has been discovered in pip, which could lead to arbitrary configuration options being injected. pip 2025-01-17 2025-01-17 918427 local 23.3 23.3

pip is a tool for installing and managing Python packages.

Multiple vulnerabilities have been discovered in pip. Please review the CVE identifiers referenced below for details.

When installing a package from a Mercurial VCS URL (ie "pip install hg+..."), 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.

There is no known workaround at this time.

All pip users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-python/pip-23.3"
CVE-2023-5752 graaff graaff