PT-2018-3971
CVE-2018-8098
·
Published
2018-03-08
·
Updated
2026-08-12
Description by
CVSS 2.0
7.8
HighMetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions
libgit2 versions prior to 0.26.2
Description
The issue is related to an integer overflow in the
read entry() function of the index.c component in libgit2. This overflow occurs while decompressing a compressed prefix length. The exploitation of this issue allows a remote attacker to cause a denial of service, specifically an out-of-bounds read, by using a crafted repository index file.Recommendations
For versions prior to 0.26.2, update to version 0.26.2 or later to resolve the issue. As a temporary workaround, consider restricting access to crafted repository index files to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾