Bug 7268 - [Anolis OS 23] Bugfix for CVE-2023-5752
Summary: [Anolis OS 23] Bugfix for CVE-2023-5752
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords: CVE
Depends on:
Blocks:
 
Reported: 2023-11-14 15:27 UTC by 小龙
Modified: 2023-11-14 15:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 小龙 admin 2023-11-14 15:27:01 UTC
Description:
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.


Broken commit info:

Bugfix commit info:
https://github.com/pypa/pip/commit/1082eb12622b20d101d2864111dd9a591dd6c2f5
https://github.com/pypa/pip/pull/12306