Integer Overflow or Wraparound Affecting mercurial package, versions <2.8.2-1ubuntu1.4


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.56% (78th 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-UBUNTU1404-MERCURIAL-311065
  • published11 Jul 2018
  • disclosed6 Jul 2018

Introduced: 6 Jul 2018

CVE-2018-13347  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 mercurial to version 2.8.2-1ubuntu1.4 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 Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.