Integer Overflow or Wraparound Affecting mercurial package, versions [,4.6.1)
Snyk CVSS
Attack Complexity
Low
Integrity
High
Threat Intelligence
EPSS
0.15% (51st
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 ID SNYK-PYTHON-MERCURIAL-1570420
- published 27 Aug 2021
- disclosed 6 Jul 2018
- credit Unknown
Introduced: 6 Jul 2018
CVE-2018-13348 Open this link in a new tabHow 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. The mpatch_decode
function in mpatch.c
in Mercurial mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not.