{"cve":"CVE-2008-2942","nvd":{"published":"2008-06-30T20:41:00.000","modified":"2026-06-16T22:54:47.360","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-22"],"references":["http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html","http://secunia.com/advisories/31108","http://secunia.com/advisories/31110","http://secunia.com/advisories/31167","http://security.gentoo.org/glsa/glsa-200807-09.xml"],"products":["mercurial:mercurial"],"source":"nvd","synced_at":"2026-10-19T19:51:11.071189229+00:00"},"epss":{"cve":"CVE-2008-2942","score":0.01901,"percentile":0.7968,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v2gw-x5jf-pgwv","url":"https://osv.dev/vulnerability/GHSA-v2gw-x5jf-pgwv","summary":"Mercurial Directory traversal vulnerability","modified":"2026-07-06T08:11:29.194055981Z","packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<1.0.2"],"fixed":["1.0.2"]}]},{"id":"PYSEC-2026-666","url":"https://osv.dev/vulnerability/PYSEC-2026-666","summary":"Mercurial Directory traversal vulnerability","modified":"2026-07-06T08:00:10.339058372Z","packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<1.0.2"],"fixed":["1.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}