{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2008-2942","id":"CVE-2008-2942","title":"Mercurial Directory traversal vulnerability","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.","descriptionLong":"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.","published":"2008-06-30T20:00:00.000Z","updated":"2026-07-06T08:11:29.194055981Z","reserved":"2008-06-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<1.0.2"],"fixed":["1.0.2"],"advisory":"GHSA-v2gw-x5jf-pgwv"}],"cwes":["CWE-22"],"aliases":["GHSA-v2gw-x5jf-pgwv","PYSEC-2026-666"],"references":[{"url":"http://www.selenic.com/hg/rev/87c704ac92d4","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43551","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/30072","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://issues.rpath.com/browse/RPL-2633","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2008/06/30/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2008-0211","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/493881/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-200807-09.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2008/07/01/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/31110","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory","web"]},{"url":"http://secunia.com/advisories/31167","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory","web"]},{"url":"http://secunia.com/advisories/31108","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2942","tags":["advisory"]},{"url":"https://github.com/dscho/hg","tags":["package"]},{"url":"https://pypi.org/project/mercurial","tags":["package"]},{"url":"https://github.com/advisories/GHSA-v2gw-x5jf-pgwv","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01901,"epssPercentile":0.80134,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2008-2942","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2942","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2008-2942","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v2gw-x5jf-pgwv","ok":true,"note":"GHSA-v2gw-x5jf-pgwv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2008-2942","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}