| Name | CVE-2018-8099 |
| Description | Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service via a crafted repository index file. |
| Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-2936-1 |
| Debian Bugs | 892962 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libgit2 (PTS) | buster | 0.27.7+dfsg.1-0.2 | fixed |
| buster (security) | 0.27.7+dfsg.1-0.2+deb10u1 | fixed |
| bullseye | 1.1.0+dfsg.1-4+deb11u1 | fixed |
| sid, trixie, bookworm | 1.5.1+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| libgit2 | source | experimental | 0.27.0+dfsg.1-0.1 | | | |
| libgit2 | source | stretch | 0.25.1+really0.24.6-1+deb9u1 | | DLA-2936-1 | |
| libgit2 | source | (unstable) | 0.27.0+dfsg.1-0.6 | low | | 892962 |
Notes
[jessie] - libgit2 <no-dsa> (Minor issue)
https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe