Data Handling in Mercurial - CVE-2016-3630

 

Data Handling in Mercurial - CVE-2016-3630

Published: April 13, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32286
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-3630
CWE-ID: CWE-19
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records.


Affected software

Mercurial
libidn (Alpine package)
mercurial (Alpine package)

How to mitigate CVE-2016-3630

Install update from vendor's website.

Mercurial - update to 3.7.3
libidn (Alpine package) - update to 1.31-r0
mercurial (Alpine package) - update to 3.0-r1

External References

Related Security Bulletins