Mercurial patch.py文件 applydiff()函数 目录遍历漏洞

admin 2022-07-12 05:53:02 CNNVD漏洞 来源:ZONE.CI 全球网 0 阅读模式

漏洞信息详情

Mercurial patch.py文件 applydiff()函数 目录遍历漏洞

  • CNNVD编号:CNNVD-200806-429
  • 危害等级: 中危
  • CVE编号: CVE-2008-2942
  • 漏洞类型: 路径遍历
  • 发布时间: 2008-06-30
  • 威胁类型: 远程
  • 更新时间: 2008-09-11
  • 厂        商: mercurial
  • 漏洞来源: Jakub Wilk

漏洞简介

Mercurial是软件开发者Matt Mackall所研发的一套使用Python语言编写的跨平台的分布式版本控制软件。该软件支持同时处理纯文本和二进制文件等。

Mercurial的mercurial/patch.py文件中没有正确地过滤对applydiff()函数的输入参数,如果远程攻击者提交了恶意请求的话,就可以通过目录遍历攻击重新命名代码库外任意文件的名称。

漏洞公告

目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:

http://security.gentoo.org/glsa/glsa-200807-09.xml

参考网址

来源: issues.rpath.com

链接:https://issues.rpath.com/browse/RPL-2633

来源: XF

名称: mercurial-patch-directory-traversal(43551)

链接:http://xforce.iss.net/xforce/xfdb/43551

来源: www.selenic.com

链接:http://www.selenic.com/hg/rev/87c704ac92d4

来源: BID

名称: 30072

链接:http://www.securityfocus.com/bid/30072

来源: BUGTRAQ

名称: 20080703 rPSA-2008-0211-1 mercurial mercurial-hgk

链接:http://www.securityfocus.com/archive/1/archive/1/493881/100/0/threaded

来源: MLIST

名称: [oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validation

链接:http://www.openwall.com/lists/oss-security/2008/07/01/1

来源: MLIST

名称: [oss-security] 20080630 CVE id request mercurial:Insufficient input validation

链接:http://www.openwall.com/lists/oss-security/2008/06/30/1

来源: wiki.rpath.com

链接:http://wiki.rpath.com/Advisories:rPSA-2008-0211

来源: GENTOO

名称: GLSA-200807-09

链接:http://security.gentoo.org/glsa/glsa-200807-09.xml

来源: SECUNIA

名称: 31110

链接:http://secunia.com/advisories/31110

来源: SECUNIA

名称: 31108

链接:http://secunia.com/advisories/31108

来源: SUSE

名称: SUSE-SR:2008:015

链接:http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.HTML

受影响实体

  • Mercurial Mercurial:1.0.1  

补丁

    暂无

weinxin
特别声明
本站(ZONE.CI)所有文章仅供技术研究,若将其信息做其他用途,由用户承担全部法律及连带责任,本站不承担任何法律及连带责任,请遵守中华人民共和国安全法.
评论:0   参与:  0