Skip to content
OpenAdvisories
Unscored CVE-2018-10887 EUVD-2018-2951GHSA-5gcq-g5p3-pjp4

A flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in …

Published Jul 10, 2018 · Updated Sep 17, 2024 · Assigned by redhat

Description

A flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker may use this flaw to leak memory addresses or cause a Denial of Service.

Affected products

VendorProductAffectedFixed
libgit2 libgit2 before version 0.27.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libgit2 0.27.4+dfsg.1-0.1 —
Debian 13 libgit2 0.27.4+dfsg.1-0.1 —
Debian 12 libgit2 0.27.4+dfsg.1-0.1 —
Debian 9 libgit2 0.25.1+really0.24.6-1+deb9u1 DLA-2936-1
Debian 8 libgit2 0.21.1-3+deb8u1 DLA-1477-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libgit2 0.26.0+dfsg.1-1.1ubuntu0.2 —
Ubuntu 16.04 LTS libgit2 0.24.1-2ubuntu0.2 —
Ubuntu 14.04 LTS libgit2 0.19.0-2ubuntu0.4 —
ReleasePackageFixed inAdvisory
SLES 15 libgit2 0.26.6-3.5.2 SUSE-SU-2018:2469-1
SLES 12 SP3 libgit2 0.24.1-7.6.1 SUSE-SU-2018:3440-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Manager Server 3.2 libgit2 0.24.1-7.6.1 SUSE-SU-2018:3440-1
SUSE Manager Server 3.1 libgit2 0.24.1-7.6.1 SUSE-SU-2018:3440-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libgit2 1.1.1-1.2 openSUSE-SU-2024:10943-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libgit2 0.27.3-r0 —
Alpine v3.23 libgit2 0.27.3-r0 —
Alpine v3.22 libgit2 0.27.3-r0 —
Alpine v3.21 libgit2 0.27.3-r0 —
Alpine v3.20 libgit2 0.27.3-r0 —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libgit2 0.27.3-r0 —
Alpine v3.18 libgit2 0.27.3-r0 —
Alpine v3.17 libgit2 0.27.3-r0 —
Alpine v3.16 libgit2 +1 0.27.3-r0 —
Alpine v3.15 libgit2 +1 0.27.3-r0 —
Alpine v3.14 libgit2 +1 0.27.3-r0 —
Alpine v3.13 libgit2 +1 0.27.3-r0 —
Alpine v3.12 libgit2 0.27.3-r0 —
Alpine v3.11 libgit2 0.27.3-r0 —
Alpine v3.10 libgit2 +1 0.27.3-r0 —
Alpine v3.9 libgit2 0.27.3-r0 —
Alpine v3.8 libgit2 0.27.3-r0 —

Advisories 5

References