Vulnerability Details : CVE-2018-13347
mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
Vulnerability category: Overflow
Products affected by CVE-2018-13347
- cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-13347
0.45%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 62 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-13347
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2018-13347
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-13347
-
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29
WhatsNew - MercurialVendor Advisory;Release Notes
-
https://access.redhat.com/errata/RHSA-2019:2276
RHSA-2019:2276 - Security Advisory - Red Hat Customer Portal
-
https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html
[SECURITY] [DLA 2293-1] mercurial security update
-
https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478c
Mercurial: 1acfc35d478cPatch;Vendor Advisory
-
https://www.mercurial-scm.org/repo/hg-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+and+4.5%3A%3A
hg-committed: searching for modifies("mercurial/mpatch.c") and 4.5::Patch;Vendor Advisory
Jump to