CVE-2008-2942

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.

Basic Data

PublishedJune 30, 2008
Last ModifiedOctober 11, 2018
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeCWE-22
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:N/AC:M/Au:N/C:P/I:P/A:P
CVSS 2 - Access VectorNETWORK
CVSS 2 - Access ComplexityMEDIUM
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactPARTIAL
CVSS 2 - Availability ImpactPARTIAL
CVSS 2 - Base Score6.8
SeverityMEDIUM
Exploitability Score8.6
Impact Score6.4
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegetrue

Base Metric V3

No data provided.

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3ApplicationMercurialMercurial1.0.1*******

Vulnerable Software List

VendorProductVersions
Mercurial Mercurial 1.0.1

References

NameSourceURLTags
SUSE-SR:2008:015http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.htmlSUSE
31108http://secunia.com/advisories/31108SECUNIA
31110http://secunia.com/advisories/31110SECUNIA
31167http://secunia.com/advisories/31167SECUNIA
GLSA-200807-09http://security.gentoo.org/glsa/glsa-200807-09.xmlGENTOO
http://wiki.rpath.com/Advisories:rPSA-2008-0211http://wiki.rpath.com/Advisories:rPSA-2008-0211CONFIRM
[oss-security] 20080630 CVE id request mercurial:Insufficient input validationhttp://www.openwall.com/lists/oss-security/2008/06/30/1MLIST
[oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validationhttp://www.openwall.com/lists/oss-security/2008/07/01/1MLIST
20080703 rPSA-2008-0211-1 mercurial mercurial-hgkhttp://www.securityfocus.com/archive/1/493881/100/0/threadedBUGTRAQ
30072http://www.securityfocus.com/bid/30072BID
http://www.selenic.com/hg/rev/87c704ac92d4http://www.selenic.com/hg/rev/87c704ac92d4CONFIRMExploit
mercurial-patch-directory-traversal(43551)https://exchange.xforce.ibmcloud.com/vulnerabilities/43551XF
https://issues.rpath.com/browse/RPL-2633https://issues.rpath.com/browse/RPL-2633CONFIRM