National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-2942 Detail

Current 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.

Source:  MITRE
View Analysis Description

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 6.8 MEDIUM
Vector: (AV:N/AC:M/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 8.6


Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Victim must voluntarily interact with attack mechanism
Provides unauthorized access
Allows unauthorized disclosure of information
Allows disruption of service

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 nvd@nist.gov.

Hyperlink Resource
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html
http://security.gentoo.org/glsa/glsa-200807-09.xml
http://wiki.rpath.com/Advisories:rPSA-2008-0211
http://www.openwall.com/lists/oss-security/2008/06/30/1
http://www.openwall.com/lists/oss-security/2008/07/01/1
http://www.securityfocus.com/archive/1/493881/100/0/threaded
http://www.securityfocus.com/bid/30072
http://www.selenic.com/hg/rev/87c704ac92d4 Exploit
https://exchange.xforce.ibmcloud.com/vulnerabilities/43551
https://issues.rpath.com/browse/RPL-2633

Technical Details

Vulnerability Type (View All)

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:mercurial:mercurial:1.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-2942
NVD Published Date:
06/30/2008
NVD Last Modified:
10/11/2018