CVE-2018-8098

medium

Description

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.

References

https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html

https://libgit2.github.com/security/

https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0

https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1

Details

Source: Mitre, NVD

Published: 2018-03-14

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium