Vulnerability Details : CVE-2018-13348
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.
Vulnerability category: Input validation
Products affected by CVE-2018-13348
- cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-13348
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 43 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-13348
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2018-13348
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-13348
-
https://www.mercurial-scm.org/repo/hg/rev/90a274965de7
Mercurial: 90a274965de7Vendor Advisory;Patch
-
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29
WhatsNew - MercurialVendor Advisory
-
https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html
[SECURITY] [DLA 2293-1] mercurial security update
Jump to