CVE-2018-8098
published 2018-03-14CVE-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…
PriorityP426medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.42%
69.9th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | libgit2 | < libgit2 0.27.0+dfsg.1-0.6 (bookworm) | libgit2 0.27.0+dfsg.1-0.6 (bookworm) |
| libgit2 | libgit2 | < 0.26.2 | 0.26.2 |
| libgit2 | libgit2 | >= 0 < 0.27.0+dfsg.1-0.6 | 0.27.0+dfsg.1-0.6 |
| libgit2 | libgit2 | >= 0 < 0.27.0+dfsg.1-0.6 | 0.27.0+dfsg.1-0.6 |
| libgit2 | libgit2 | >= 0 < 0.27.0+dfsg.1-0.6 | 0.27.0+dfsg.1-0.6 |
| libgit2 | libgit2 | >= 0 < 0.27.0+dfsg.1-0.6 | 0.27.0+dfsg.1-0.6 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
libgit2: denial of service (DoS) via crafted repository index files
vendor_redhat·2018-03-08·CVSS 6.5
CVE-2018-8098 [MEDIUM] CWE-125 libgit2: denial of service (DoS) via crafted repository index files
libgit2: denial of service (DoS) via crafted repository index files
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.
Package: libgit2 (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-8098: libgit2 - Integer overflow in the index.c:read_entry() function while decompressing a comp...
vendor_debian·2018·CVSS 6.5
CVE-2018-8098 [MEDIUM] CVE-2018-8098: libgit2 - Integer overflow in the index.c:read_entry() function while decompressing a comp...
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.
Scope: local
bookworm: resolved (fixed in 0.27.0+dfsg.1-0.6)
bullseye: resolved (fixed in 0.27.0+dfsg.1-0.6)
forky: resolved (fixed in 0.27.0+dfsg.1-0.6)
sid: resolved (fixed in 0.27.0+dfsg.1-0.6)
trixie: resolved (fixed in 0.27.0+dfsg.1-0.6)
GHSA
GHSA-m334-hpp6-wjh3: Integer overflow in the index
ghsa_unreviewed·2022-05-12
CVE-2018-8098 [MEDIUM] CWE-190 GHSA-m334-hpp6-wjh3: Integer overflow in the index
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.
OSV
CVE-2018-8098: Integer overflow in the index
osv·2018-03-14·CVSS 6.5
CVE-2018-8098 [MEDIUM] CVE-2018-8098: Integer overflow in the index
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.
No detection rules found.
Bugzilla
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [fedora-all]
bugzilla·2018-03-12·CVSS 6.5
CVE-2018-8099 [MEDIUM] CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [fedora-all]
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
Bugzilla
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [epel-all]
bugzilla·2018-03-12·CVSS 6.5
CVE-2018-8099 [MEDIUM] CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [epel-all]
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files
bugzilla·2018-03-12·CVSS 6.5
CVE-2018-8099 [MEDIUM] CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files
CVE-2018-8099 CVE-2018-8098 libgit2: denial of service (DoS) via crafted repository index files
Several flaws were found in libgit2 before version 0.26.2. There are memory handling issues when reading crafted repository index files. The issues allow for possible denial of service due to allocation of large memory and out-of-bound reads. As the index is never transferred via the network, exploitation requires an attacker to have access to the local repository.
References:
https://github.com/libgit2/libgit2/commit/dd2d5381773ca3f7bc31f56aea6fc067db5ea404
Discussion:
Created libgit2 tracking bugs for this issue:
Affects: fedora-all [bug 1554368]
Affects: epel-all [bug 1554367]
---
References added for CVE-2018-8098:
https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b8
https://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0https://libgit2.github.com/security/https://lists.debian.org/debian-lts-announce/2022/03/msg00031.htmlhttps://github.com/libgit2/libgit2/commit/3207ddb0103543da8ad2139ec6539f590f9900c1https://github.com/libgit2/libgit2/commit/3db1af1f370295ad5355b8f64b865a2a357bcac0https://libgit2.github.com/security/https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
2018-03-14
Published