U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2008-2942 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html CVE, MITRE
http://secunia.com/advisories/31108 CVE, MITRE
http://secunia.com/advisories/31110 CVE, MITRE
http://secunia.com/advisories/31167 CVE, MITRE
http://security.gentoo.org/glsa/glsa-200807-09.xml CVE, MITRE
http://wiki.rpath.com/Advisories:rPSA-2008-0211 CVE, MITRE
http://www.openwall.com/lists/oss-security/2008/06/30/1 CVE, MITRE
http://www.openwall.com/lists/oss-security/2008/07/01/1 CVE, MITRE
http://www.securityfocus.com/archive/1/493881/100/0/threaded CVE, MITRE
http://www.securityfocus.com/bid/30072 CVE, MITRE
http://www.selenic.com/hg/rev/87c704ac92d4 CVE, MITRE Exploit 
https://exchange.xforce.ibmcloud.com/vulnerabilities/43551 CVE, MITRE
https://issues.rpath.com/browse/RPL-2633 CVE, MITRE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

5 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-2942
NVD Published Date:
06/30/2008
NVD Last Modified:
04/08/2025
Source:
MITRE