Out-of-bounds Read in Libgit2
CVE-2018-10887
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.021, 81.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgit2 — versions before version 0.27.3
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Issue Tracking)
- [debian-lts-announce] 20180825 [SECURITY] [DLA 1477-1] libgit2 security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/libgit2/libgit2/releases/tag/v0.27.3 (Patch, Release Notes)
- github.com/libgit2/libgit2/commit/c1577110467b701dcbcf9439ac225ea851b47d22 (Patch)
- github.com/libgit2/libgit2/commit/3f461902dc1072acb8b7607ee65d0a0458ffac2a (Patch)
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update (mailing-list, Mailing List, Third Party Advisory)