CVE-2016-2315

HIGH

Description

revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, leading to a heap-based buffer overflow.

References

http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183147.html

http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179121.html

http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180763.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00059.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00060.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00061.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00062.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00071.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00074.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00076.html

http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00077.html

http://lists.opensuse.org/opensuse-updates/2016-04/msg00011.html

http://pastebin.com/UX2P2jjg

http://rhn.redhat.com/errata/RHSA-2016-0496.html

http://www.debian.org/security/2016/dsa-3521

http://www.openwall.com/lists/oss-security/2016/03/15/5

http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html

http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html

http://www.securityfocus.com/bid/84355

http://www.securitytracker.com/id/1035290

http://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

Details

Source: MITRE

Published: 2016-04-08

Updated: 2018-10-30

Type: CWE-119

Risk Information

CVSS v2.0

Base Score: 10

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 10

Severity: HIGH

CVSS v3.0

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL