CVEfocus › CVE database › CVE-2018-10887

CVE-2018-10887

CVSS 8.1 HighEPSS 2.0% (higher than 81% of CVEs)Published 2018-07-10Updated 2024-09-17Assigner: redhat

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.

CWE-194

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

28Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04libgit2Fixed0.26.0+dfsg.1-1.1ubuntu0.2UBUNTU-CVE-2018-10887
Ubuntu 16.04libgit2Fixed0.24.1-2ubuntu0.2UBUNTU-CVE-2018-10887
Ubuntu 14.04libgit2Fixed0.19.0-2ubuntu0.4UBUNTU-CVE-2018-10887
Debian 14libgit2Fixed0.27.4+dfsg.1-0.1DEBIAN-CVE-2018-10887
Debian 13libgit2Fixed0.27.4+dfsg.1-0.1DEBIAN-CVE-2018-10887
Debian 12libgit2Fixed0.27.4+dfsg.1-0.1DEBIAN-CVE-2018-10887
Alpine Linux 3.24libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.23libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.22libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.21libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.20libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.19libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.18libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.17libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.16libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.16libgit2-1.1Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.15libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.15libgit2-1.1Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.14libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.14libgit2-1.0Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.13libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.13libgit2-1.0Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.12libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.11libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.10libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.10libgit2-0.27Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.9libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887
Alpine Linux 3.8libgit2Fixed0.27.3-r0ALPINE-CVE-2018-10887

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.