Improper input validation in Mercurial
CVE-2018-13348
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.021 · 82.5th percentile
- Published
- 2018-07-06
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.
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.021, 82.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.mercurial-scm.org/repo/hg/rev/90a274965de7 (Patch, Vendor Advisory)
- www.mercurial-scm.org/wiki/WhatsNew (Vendor Advisory)
- [debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update (mailing-list)