Directory Traversal Affecting mercurial package, versions <1.0.1-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.89% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-MERCURIAL-22587331
  • published18 Nov 2026
  • disclosed30 Jun 2008

Introduced: 30 Jun 2008

CVE-2008-2942  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Echo:latest mercurial to version 1.0.1-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mercurial package and not the mercurial package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1