漏洞信息详情
Mercurial patch.py文件 applydiff()函数 目录遍历漏洞
漏洞简介
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<!--2000-1-1-->
补丁
暂无
还没有评论,来说两句吧...