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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    EPSS 0.23% (61st percentile)
Expand this section
NVD
5.9 medium
Expand this section
Red Hat
5.1 medium
Expand this section
SUSE
5 medium

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 ID SNYK-PYTHON-MERCURIAL-174511
  • published 24 Apr 2019
  • disclosed 22 Apr 2019
  • credit Unknown

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.