Integer Overflow or Wraparound Affecting mercurial package, versions <4.5.2-3.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
2.67% (86th 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-SLES150-MERCURIAL-2763652
  • published14 Apr 2022
  • disclosed19 Jul 2018

Introduced: 19 Jul 2018

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

How to fix?

Upgrade SLES:15.0 mercurial to version 4.5.2-3.3.1 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 SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

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