First published: Fri Jul 06 2018(Updated: )
The `mpatch_decode` function in `mpatch.c` in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Mercurial Mercurial | <4.6.1 | |
pip/mercurial | <4.6.1 | 4.6.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID for this issue is CVE-2018-13348.
The severity of CVE-2018-13348 is high with a CVSS score of 7.5.
Mercurial versions up to and excluding 4.6.1 are affected by CVE-2018-13348.
The vulnerability in CVE-2018-13348 manifests in the mishandling of certain situations in the mpatch_decode function in Mercurial before 4.6.1.
Yes, the fix for CVE-2018-13348 is included in Mercurial version 4.6.1 and later.