Gentoo Archives: gentoo-announce

From: Tobias Heinlein <keytoaster@g.o>
To: gentoo-announce@g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200807-09 ] Mercurial: Directory traversal
Date: Tue, 15 Jul 2008 22:14:14
Message-Id: 487D1FF5.9090100@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200807-09
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Mercurial: Directory traversal
9 Date: July 15, 2008
10 Bugs: #230193
11 ID: 200807-09
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A directory traversal vulnerability in Mercurial allows for the
19 renaming of arbitrary files.
20
21 Background
22 ==========
23
24 Mercurial is a distributed Source Control Management system.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-util/mercurial < 1.0.1-r2 >= 1.0.1-r2
33
34 Description
35 ===========
36
37 Jakub Wilk discovered a directory traversal vulnerabilty in the
38 applydiff() function in the mercurial/patch.py file.
39
40 Impact
41 ======
42
43 A remote attacker could entice a user to import a specially crafted
44 patch, possibly resulting in the renaming of arbitrary files, even
45 outside the repository.
46
47 Workaround
48 ==========
49
50 There is no known workaround at this time.
51
52 Resolution
53 ==========
54
55 All Mercurial users should upgrade to the latest version:
56
57 # emerge --sync
58 # emerge --ask --oneshot --verbose ">=dev-util/mercurial-1.0.1-r2"
59
60 References
61 ==========
62
63 [ 1 ] CVE-2008-2942
64 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2942
65
66 Availability
67 ============
68
69 This GLSA and any updates to it are available for viewing at
70 the Gentoo Security Website:
71
72 http://security.gentoo.org/glsa/glsa-200807-09.xml
73
74 Concerns?
75 =========
76
77 Security is a primary focus of Gentoo Linux and ensuring the
78 confidentiality and security of our users machines is of utmost
79 importance to us. Any security concerns should be addressed to
80 security@g.o or alternatively, you may file a bug at
81 http://bugs.gentoo.org.
82
83 License
84 =======
85
86 Copyright 2008 Gentoo Foundation, Inc; referenced text
87 belongs to its owner(s).
88
89 The contents of this document are licensed under the
90 Creative Commons - Attribution / Share Alike license.
91
92 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature