Gentoo: GLSA-202501-03: pip: arbitrary configuration injectionSecurity Advisory Updates
Summary
Multiple vulnerabilities have been discovered in pip. Please review the
CVE identifiers referenced below for details.
Resolution
All pip users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pip-23.3"
References
[ 1 ] CVE-2023-5752
https://nvd.nist.gov/vuln/detail/CVE-2023-5752
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202501-03
Concerns
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
Background
pip is a tool for installing and managing Python packages.
Affected Packages
Package Vulnerable Unaffected
-------------- ------------ ------------
dev-python/pip < 23.3 >= 23.3
Impact
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.
Workaround
There is no known workaround at this time.