CVE-2018-8098Integer Overflow or Wraparound in Libgit2

Severity
6.5MEDIUMNVD
EPSS
0.7%
top 27.00%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 14
Latest updateMay 12

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages3 packages

debiandebian/libgit2< libgit2 0.27.0+dfsg.1-0.6 (bookworm)
NVDlibgit2/libgit2< 0.26.2
Debianlibgit2/libgit2< 0.27.0+dfsg.1-0.6+3

Also affects: Debian Linux 9.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-m334-hpp6-wjh3: Integer overflow in the index2022-05-12
OSV
CVE-2018-8098: Integer overflow in the index2018-03-14
CVEList
CVE-2018-8098: Integer overflow in the index2018-03-14

💥Exploits & PoCs

1
Exploit-DB
DiskBoss Enterprise 8.8.16 - Remote Buffer Overflow2018-01-10

📋Vendor Advisories

2
Red Hat
libgit2: denial of service (DoS) via crafted repository index files2018-03-08
Debian
CVE-2018-8098: libgit2 - Integer overflow in the index.c:read_entry() function while decompressing a comp...2018

💬Community

3
Bugzilla
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [fedora-all]2018-03-12
Bugzilla
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [epel-all]2018-03-12
Bugzilla
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files2018-03-12