中危 Mercurial configuration injectable in repo revision when installing via pip (CVE-2023-5752)

CVE编号

CVE-2023-5752

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-10-24
漏洞描述
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 arent installing from Mercurial.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 pypa pip * Up to
(excluding)
23.3
运行在以下环境
系统 debian_10 python-pip * Up to
(including)
18.1-5
运行在以下环境
系统 debian_11 python-pip * Up to
(including)
20.3.4-4+deb11u1
运行在以下环境
系统 debian_12 python-pip * Up to
(including)
23.0.1+dfsg-1
运行在以下环境
系统 debian_sid python-pip * Up to
(excluding)
23.3+dfsg-1
阿里云评分
5.0
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    管控权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-77 在命令中使用的特殊元素转义处理不恰当(命令注入)
阿里云安全产品覆盖情况