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


| Updated: 2020-07-28

Vulnerability identifier: #VU32317

Vulnerability risk: High

CVSSv4.0: 8.1 [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: Network

Exploit availability: No

Vulnerable software:
Git
Client/Desktop applications / Software for system administration

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.

Mitigation
Update to version 2.7.4.

Vulnerable software versions

Git: 2.7.0 - 2.7.3


External links
https://lists.fedoraproject.org/pipermail/package-announce/2016-April/183147.html
https://lists.fedoraproject.org/pipermail/package-announce/2016-March/179121.html
https://lists.fedoraproject.org/pipermail/package-announce/2016-March/180763.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00059.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00060.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00061.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00062.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00071.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00074.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00076.html
https://lists.opensuse.org/opensuse-security-announce/2016-03/msg00077.html
https://lists.opensuse.org/opensuse-updates/2016-04/msg00011.html
https://pastebin.com/UX2P2jjg
https://rhn.redhat.com/errata/RHSA-2016-0496.html
https://www.debian.org/security/2016/dsa-3521
https://www.openwall.com/lists/oss-security/2016/03/15/5
https://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
https://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
https://www.securityfocus.com/bid/84355
https://www.securitytracker.com/id/1035290
https://www.ubuntu.com/usn/USN-2938-1
https://github.com/git/git/commit/34fa79a6cde56d6d428ab0d3160cb094ebad3305
https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt
https://security.gentoo.org/glsa/201605-01


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability