{"id":"CVE-2008-2942","aliases":["GHSA-v2gw-x5jf-pgwv","PYSEC-2026-666"],"url":"https://o3.security/vulnerability/CVE-2008-2942","summary":"Mercurial Directory traversal vulnerability","details":"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:41:00Z","modified":"2026-07-06T08:11:29.194055981Z","cvss":null,"epss":{"score":0.01885,"percentile":0.779,"asOf":"2026-08-21"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"mercurial","fixedVersion":"1.0.2"}],"fix":null,"references":[{"type":"ADVISORY","url":"http://secunia.com/advisories/31108"},{"type":"ADVISORY","url":"http://secunia.com/advisories/31110"},{"type":"ADVISORY","url":"http://secunia.com/advisories/31167"},{"type":"ADVISORY","url":"http://security.gentoo.org/glsa/glsa-200807-09.xml"},{"type":"EVIDENCE","url":"http://www.selenic.com/hg/rev/87c704ac92d4"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html"},{"type":"WEB","url":"http://wiki.rpath.com/Advisories:rPSA-2008-0211"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2008/06/30/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2008/07/01/1"},{"type":"WEB","url":"http://www.securityfocus.com/archive/1/493881/100/0/threaded"},{"type":"WEB","url":"http://www.securityfocus.com/bid/30072"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/43551"},{"type":"WEB","url":"https://issues.rpath.com/browse/RPL-2633"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-06T08:11:29.194055981Z"}}