6.8

CVE-2008-2942: mercurial Path Traversal

CVSS: 6.8v2.0MediumModified
AliasesGHSA-v2gw-x5jf-pgwvPYSEC-2026-666DEBIAN-CVE-2008-2942
Published 30-06-2008Last modified 07-08-2024

Vulnerability summary

CVE-2008-2942 is a medium (CVSS 6.8) Path Traversal vulnerability in mercurial. EPSS estimates a 1.90% chance of exploitation in the next 30 days, higher than 79.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
38/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.8/10
010
Medium · v2.0 (NVD)
EPSS score
1.90%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 30-06-2008
    PublishedVulnerability first disclosed.
  2. 07-08-2024
    Last modifiedVulnerability information updated.

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 metrics

1 score · 1 source · 1 version

EPSS trend

Probability

1.90%

Chance of exploitation in the next 30 days

Percentile

79%

Versus all other CVEs

30-day change

0.00 pp

From 1.90% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (selenic.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • mercurial< 1.0.1-2
Mercurial1 product
PyPI1 product
  • mercurial< 1.0.2

3 vendors · 3 products

References

18 links
Show all 18 references