CVE-2008-2942

Summary

CVECVE-2008-2942
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-06-30 20:41:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionDirectory 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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-22 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mercurial Mercurial 1.0.1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
issues.rpath.com/browse/RPL-2633 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Mercurial: 87c704ac92d4 af854a3a-2127-422b-91ae-364da2661108 www.selenic.com Exploit
Mercurial Multiple Vulnerabilities - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
Mercurial: Directory traversal — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
[security-announce] SUSE Security Summary Report SUSE-SR:2008:015 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
oss-security - Re: CVE id request mercurial:Insufficient input validation af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
wiki.rpath.com/Advisories:rPSA-2008-0211 af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com
Mercurial 'patch.py' Directory Traversal Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Gentoo update for mercurial - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
oss-security - CVE id request mercurial:Insufficient input validation af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 995369 Python (Pip) Security Update for mercurial (GHSA-v2gw-x5jf-pgwv)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report