Directory Traversal Affecting mercurial package, versions <1.0.1-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.78% (82nd 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN9-MERCURIAL-311135
  • published30 Jun 2008
  • 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 Debian:9 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 Debian. See How to fix? for Debian:9 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 Scores

version 3.1