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.
References
Link | Resource |
---|---|
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29 | Third Party Advisory |
https://www.mercurial-scm.org/repo/hg/rev/faa924469635 | Patch Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:2276 | |
https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html |
Configurations
Information
Published : 2018-07-05 17:29
Updated : 2020-07-31 06:15
NVD link : CVE-2018-13346
Mitre link : CVE-2018-13346
JSON object : View
CWE
CWE-20
Improper Input Validation
Products Affected
mercurial
- mercurial