CVE-2018-8099

NameCVE-2018-8099
DescriptionIncorrect 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2936-1
Debian Bugs892962

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgit2 (PTS)jessie, jessie (lts)0.21.1-3+deb8u1vulnerable
stretch (security)0.25.1+really0.24.6-1+deb9u1fixed
stretch (lts), stretch0.25.1+really0.24.6-1+deb9u3fixed
buster (security), buster, buster (lts)0.27.7+dfsg.1-0.2+deb10u2fixed
bullseye (security), bullseye1.1.0+dfsg.1-4+deb11u2fixed
bookworm (security), bookworm1.5.1+ds-1+deb12u1fixed
sid, trixie1.8.4+ds-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgit2sourceexperimental0.27.0+dfsg.1-0.1
libgit2sourcestretch0.25.1+really0.24.6-1+deb9u1DLA-2936-1
libgit2source(unstable)0.27.0+dfsg.1-0.6low892962

Notes

[jessie] - libgit2 <no-dsa> (Minor issue)
https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe

Search for package or bug name: Reporting problems