You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-200807-09.xml

64 lines
1.9 KiB

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200807-09">
<title>Mercurial: Directory traversal</title>
<synopsis>
A directory traversal vulnerability in Mercurial allows for the renaming of
arbitrary files.
</synopsis>
<product type="ebuild">mercurial</product>
<announced>2008-07-15</announced>
<revised count="01">2008-07-15</revised>
<bug>230193</bug>
<access>remote</access>
<affected>
<package name="dev-util/mercurial" auto="yes" arch="*">
<unaffected range="ge">1.0.1-r2</unaffected>
<vulnerable range="lt">1.0.1-r2</vulnerable>
</package>
</affected>
<background>
<p>
Mercurial is a distributed Source Control Management system.
</p>
</background>
<description>
<p>
Jakub Wilk discovered a directory traversal vulnerabilty in the
applydiff() function in the mercurial/patch.py file.
</p>
</description>
<impact type="normal">
<p>
A remote attacker could entice a user to import a specially crafted
patch, possibly resulting in the renaming of arbitrary files, even
outside the repository.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All Mercurial users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=dev-util/mercurial-1.0.1-r2"</code>
</resolution>
<references>
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2942">CVE-2008-2942</uri>
</references>
<metadata tag="requester" timestamp="2008-07-15T10:37:24Z">
keytoaster
</metadata>
<metadata tag="submitter" timestamp="2008-07-15T11:41:04Z">
keytoaster
</metadata>
<metadata tag="bugReady" timestamp="2008-07-15T11:48:10Z">
p-y
</metadata>
</glsa>