Arbitrary File Overwrite Affecting mercurial package, versions [,4.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (55th 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-PYTHON-MERCURIAL-174511
  • published24 Apr 2019
  • disclosed22 Apr 2019
  • creditUnknown

Introduced: 22 Apr 2019

CVE-2019-3902  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade mercurial to version 4.9 or higher.

Overview

mercurial is a distributed SCM tool written in Python.

Affected versions of this package are vulnerable to Arbitrary File Overwrite. It is possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside of a repository.

CVSS Scores

version 3.1