Heap-based buffer overflow in Git - CVE-2016-2315

 

Heap-based buffer overflow in Git - CVE-2016-2315

Published: April 8, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32317
CSH Severity: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2016-2315
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Git
Software vendor:
Git

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in revision.c in git before 2.7.4 uses an incorrect integer data type, which. A remote attacker can use a to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Update to version 2.7.4.

External links