{"id":"CVE-2008-2942","state":"PUBLISHED","title":"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.","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.","publishedAt":"2008-06-30T20:00:00.000Z","updatedAt":"2024-08-07T09:21:34.414Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.selenic.com/hg/rev/87c704ac92d4","https://exchange.xforce.ibmcloud.com/vulnerabilities/43551","http://www.securityfocus.com/bid/30072","https://issues.rpath.com/browse/RPL-2633","http://www.openwall.com/lists/oss-security/2008/06/30/1","http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html","http://wiki.rpath.com/Advisories:rPSA-2008-0211","http://www.securityfocus.com/archive/1/493881/100/0/threaded","http://security.gentoo.org/glsa/glsa-200807-09.xml","http://www.openwall.com/lists/oss-security/2008/07/01/1","http://secunia.com/advisories/31110","http://secunia.com/advisories/31167","http://secunia.com/advisories/31108"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:54.183Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/2xxx/CVE-2008-2942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-2942","state":"PUBLISHED","datePublished":"2008-06-30T20:00:00.000Z","dateUpdated":"2024-08-07T09:21:34.414Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-06-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.selenic.com/hg/rev/87c704ac92d4","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43551","name":"mercurial-patch-directory-traversal(43551)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/30072","name":"30072","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://issues.rpath.com/browse/RPL-2633","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2008/06/30/1","name":"[oss-security] 20080630 CVE id request mercurial:Insufficient input validation","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html","name":"SUSE-SR:2008:015","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0211","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/493881/100/0/threaded","name":"20080703 rPSA-2008-0211-1 mercurial mercurial-hgk","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://security.gentoo.org/glsa/glsa-200807-09.xml","name":"GLSA-200807-09","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.openwall.com/lists/oss-security/2008/07/01/1","name":"[oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validation","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/31110","name":"31110","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31167","name":"31167","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31108","name":"31108","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-11T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2008-06-30T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-2942","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.selenic.com/hg/rev/87c704ac92d4","refsource":"CONFIRM","url":"http://www.selenic.com/hg/rev/87c704ac92d4"},{"name":"mercurial-patch-directory-traversal(43551)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43551"},{"name":"30072","refsource":"BID","url":"http://www.securityfocus.com/bid/30072"},{"name":"https://issues.rpath.com/browse/RPL-2633","refsource":"CONFIRM","url":"https://issues.rpath.com/browse/RPL-2633"},{"name":"[oss-security] 20080630 CVE id request mercurial:Insufficient input validation","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2008/06/30/1"},{"name":"SUSE-SR:2008:015","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html"},{"name":"http://wiki.rpath.com/Advisories:rPSA-2008-0211","refsource":"CONFIRM","url":"http://wiki.rpath.com/Advisories:rPSA-2008-0211"},{"name":"20080703 rPSA-2008-0211-1 mercurial mercurial-hgk","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/493881/100/0/threaded"},{"name":"GLSA-200807-09","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200807-09.xml"},{"name":"[oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validation","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2008/07/01/1"},{"name":"31110","refsource":"SECUNIA","url":"http://secunia.com/advisories/31110"},{"name":"31167","refsource":"SECUNIA","url":"http://secunia.com/advisories/31167"},{"name":"31108","refsource":"SECUNIA","url":"http://secunia.com/advisories/31108"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.selenic.com/hg/rev/87c704ac92d4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43551","name":"mercurial-patch-directory-traversal(43551)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/30072","name":"30072","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-2633","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/06/30/1","name":"[oss-security] 20080630 CVE id request mercurial:Insufficient input validation","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html","name":"SUSE-SR:2008:015","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0211","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/493881/100/0/threaded","name":"20080703 rPSA-2008-0211-1 mercurial mercurial-hgk","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200807-09.xml","name":"GLSA-200807-09","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/07/01/1","name":"[oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validation","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://secunia.com/advisories/31110","name":"31110","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/31167","name":"31167","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/31108","name":"31108","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T09:21:34.414Z"}}]}}}