Improper Input Validation Affecting mercurial package, versions [,4.3)


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.39% (73rd percentile)
Expand this section
NVD
9.8 critical
Expand this section
Red Hat
6.3 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-1570174
  • published 27 Aug 2021
  • disclosed 5 Oct 2017
  • credit Unknown

How to fix?

Upgrade mercurial to version 4.3 or higher.

Overview

mercurial is a distributed SCM tool written in Python.

Affected versions of this package are vulnerable to Improper Input Validation. Mercurial was not sanitizing hostnames passed to ssh, allowing shell injection attacks on clients by specifying a hostname starting with -oProxyCommand.