Vulnerability identifier: #VU14211
Vulnerability risk: Low
CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-119
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Mercurial
Client/Desktop applications /
Other client software
Vendor: Mercurial
Description
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to boundary error when the mpatch_apply function in mpatch.c incorrectly proceeds in cases where the fragment start is past the end of the original data. A remote unauthenticated attacker can supply specially crafted input, trigger memory corruption and cause the service to crash.
Mitigation
Update to version 4.6.1.
Vulnerable software versions
Mercurial: 4.0.0 - 4.6.0
External links
http://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.