Vulnerability Details : CVE-2018-8098
Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an attacker to cause a denial of service (out-of-bounds read) via a crafted repository index file.
Vulnerability category: OverflowDenial of service
Products affected by CVE-2018-8098
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-8098
1.18%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 78 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-8098
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2018-8098
-
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-8098
-
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
[SECURITY] [DLA 2936-1] libgit2 security updateMailing List;Third Party Advisory
-
https://libgit2.github.com/security/
libgit2Patch;Third Party Advisory
-
https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0
index: error out on unreasonable prefix-compressed path lengths · libgit2/libgit2@3db1af1 · GitHubPatch;Third Party Advisory
-
https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1
index: fix out-of-bounds read with invalid index entry prefix length · libgit2/libgit2@3207ddb · GitHubPatch;Third Party Advisory
Jump to