Integer Overflow or Wraparound Affecting mercurial package, versions [,4.6.1)


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.56% (78th percentile)
Expand this section
NVD
9.8 critical
Expand this section
SUSE
5.3 medium
Expand this section
Red Hat
7.5 high

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-1570185
  • published 27 Aug 2021
  • disclosed 6 Jul 2018
  • credit Unknown

How to fix?

Upgrade mercurial to version 4.6.1 or higher.

Overview

mercurial is a distributed SCM tool written in Python.

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. mpatch.c in Mercurial mishandles integer addition and subtraction.