blob: c5e720cbb67b7e6ca04905bd42daeae22714b1f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<?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>July 15, 2008</announced>
<revised>July 15, 2008: 01</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 ">=dev-util/mercurial-1.0.1-r2"</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2942">CVE-2008-2942</uri>
</references>
<metadata tag="requester" timestamp="Tue, 15 Jul 2008 10:37:24 +0000">
keytoaster
</metadata>
<metadata tag="submitter" timestamp="Tue, 15 Jul 2008 11:41:04 +0000">
keytoaster
</metadata>
<metadata tag="bugReady" timestamp="Tue, 15 Jul 2008 11:48:10 +0000">
p-y
</metadata>
</glsa>
|