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)
EPSS: 0.023 (81.8th percentile) — read the EPSS interpretation.
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.
Affected products
- Mercurial
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST)
Frequently asked questions
- What is CVE-2018-13346?
- CVE-2018-13346 is a high-severity vulnerability in Mercurial, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2018-07-06.
- How severe is CVE-2018-13346?
- High severity. CVSS v3 base score is 7.5 out of 10.