Out-of-bounds read in libgit2 - CVE-2018-8098

 

Out-of-bounds read in libgit2 - CVE-2018-8098

Published: March 19, 2018


Vulnerability identifier: #VU11154
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-8098
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
libgit2
Software vendor:
libgit2.github.com

Description

The vulnerability allow a remote attacker to cause DoS condition on the target system.

The weakness exists in the index.c:read_entry() function due to out-of-bounds read while decompressing a compressed prefix length. A remote attacker can send a specially crafted repository index file, trick the victim into opening it and cause the service to crash.

Remediation

Update to version 0.26.2.

External links