Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918427 (CVE-2023-5752) - <dev-python/pip-23.3: mercurial configuration injection on installation
Summary: <dev-python/pip-23.3: mercurial configuration injection on installation
Status: CONFIRMED
Alias: CVE-2023-5752
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://mail.python.org/archives/list...
Whiteboard: B2 [glsa?]
Keywords:
Depends on: 917371
Blocks:
  Show dependency tree
 
Reported: 2023-11-24 20:41 UTC by John Helmert III
Modified: 2023-11-25 15:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-11-24 20:41:16 UTC
CVE-2023-5752:

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.

Please stabilize 23.3.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 10:32:02 UTC
cleanup done.