- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202501-03 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: pip: arbitrary configuration injection Date: January 17, 2025 Bugs: #918427 ID: 202501-03 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== A vulnerability has been discovered in pip, which could lead to arbitrary configuration options being injected. Background ========== pip is a tool for installing and managing Python packages. Affected packages ================= Package Vulnerable Unaffected -------------- ------------ ------------ dev-python/pip < 23.3 >= 23.3 Description =========== Multiple vulnerabilities have been discovered in pip. Please review the CVE identifiers referenced below for details. 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. 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. License ======= Copyright 2025 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license. https://creativecommons.org/licenses/by-sa/2.5