CVE-2018-10887
CVE-2018-10887
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.1 · High · EPSS 2.1% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
libgit2
- Versions
- before version 0.27.3: Affected
No fix published
libgit2 Debian:12
- Affected ranges
- ECOSYSTEM: < 0.27.4+dfsg.1-0.1
Update to 0.27.4+dfsg.1-0.1
libgit2 Debian:13
- Affected ranges
- ECOSYSTEM: < 0.27.4+dfsg.1-0.1
Update to 0.27.4+dfsg.1-0.1
libgit2 Debian:14
- Affected ranges
- ECOSYSTEM: < 0.27.4+dfsg.1-0.1
Update to 0.27.4+dfsg.1-0.1
libgit2 Ubuntu:14.04:LTS
- Versions
- 0.19.0-2
- Affected ranges
- ECOSYSTEM: < 0.19.0-2ubuntu0.4
Update to 0.19.0-2ubuntu0.4
libgit2 Ubuntu:16.04:LTS
- Versions
- 0.22.2-2
- 0.23.1-1
- 0.24.1-2
- Affected ranges
- ECOSYSTEM: < 0.24.1-2ubuntu0.2
Update to 0.24.1-2ubuntu0.2
libgit2 Ubuntu:18.04:LTS
- Versions
- 0.25.1+really0.24.6-1
- 0.26.0+dfsg.1-1.1
- 0.26.0+dfsg.1-1.1build1
- Affected ranges
- ECOSYSTEM: < 0.26.0+dfsg.1-1.1ubuntu0.2
Update to 0.26.0+dfsg.1-1.1ubuntu0.2
Original sources
- https://bugzilla.redhat.com/show_bug.cgi?id=1598021
- https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
- https://github.com/libgit2/libgit2/releases/tag/v0.27.3
- https://github.com/libgit2/libgit2/commit/c1577110467b701dcbcf9439ac225ea851b47d22
- https://github.com/libgit2/libgit2/commit/3f461902dc1072acb8b7607ee65d0a0458ffac2a
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-10887