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 (80.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 80.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
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)
- lists.debian.org/debian-lts-announce/2018/08/msg00024.html (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)
- lists.debian.org/debian-lts-announce/2022/03/msg00031.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-10887?
- CVE-2018-10887 is a high-severity vulnerability in Libgit2, classified under CWE-194. CVSS score: 8.1/10. Published 2018-07-10.
- How severe is CVE-2018-10887?
- High severity. CVSS v3 base score is 8.1 out of 10.