Improper input validation in Mercurial
CVE-2018-13346
The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.024, 84.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.mercurial-scm.org/wiki/WhatsNew (Third Party Advisory)
- www.mercurial-scm.org/repo/hg/rev/faa924469635 (Patch, Third Party Advisory)
- RHSA-2019:2276 (vendor-advisory)
- [debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update (mailing-list)