Integer overflow in Libgit2
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 class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.014, 73.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgit2
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Cao-Wuhui/ORCAS). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1 (Patch, Third Party Advisory)
- libgit2.github.com/security/ (Patch, Third Party Advisory)
- github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0 (Patch, Third Party Advisory)
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update (mailing-list, Mailing List, Third Party Advisory)