Vulnerabilities · 2018 · Libgit2
CVE-2018-10887
Libgit2 vulnerability
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
Libgit2, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libgit2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1598021 · Patch
- github.com/libgit2/libgit2/commit/3f461902dc1072acb8b7607ee65d0a0458ffac2a · Patch
- github.com/libgit2/libgit2/commit/c1577110467b701dcbcf9439ac225ea851b47d22 · Patch
- github.com/libgit2/libgit2/releases/tag/v0.27.3 · Patch
- lists.debian.org/debian-lts-announce/2018/08/msg00024.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00031.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-10887
- cve.org/CVERecord?id=CVE-2018-10887
More vulnerabilities in Libgit2 products
CVE-2024-24577CVE-2024-24575CVE-2023-22742CVE-2020-12279CVE-2020-12278CVE-2018-15501CVE-2018-10888CVE-2018-8099All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.