CVE-2008-2942

Mercurial 1.0.1 - Path Traversal via Patch File

Title source: llm
STIX 2.1

Description

Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via ".." (dot dot) sequences in a patch file.

References (13)

Core 13
Core References
Exploit x_refsource_confirm
http://www.selenic.com/hg/rev/87c704ac92d4
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/43551
Third Party Advisory x_refsource_confirm
http://wiki.rpath.com/Advisories:rPSA-2008-0211
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/30072
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-2633
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/06/30/1
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/493881/100/0/threaded
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200807-09.xml
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/07/01/1
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31110
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31167
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31108

Scores

EPSS 0.0188
EPSS Percentile 77.0%

Details

CWE
CWE-22
Status published
Products (2)
mercurial/mercurial 1.0.1
pypi/mercurial 0 - 1.0.2PyPI
Published Jun 30, 2008
Tracked Since Feb 18, 2026