CVE-2016-2315
git: path_name() integer truncation and overflow leading to buffer overflow
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-119
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 13 fixes
Oracle Linux 1 release · 1 package
fixed 1
emacs-git
| Release | Package | Fixed in |
|---|---|---|
| 7 | emacs-git +15 | 1.8.3.1-6.el7_2.1 |
Red Hat 1 release · 2 packages
fixed 2
emacs-git
git19-emacs-git
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | emacs-git +15 | 0:1.8.3.1-6.el7_2.1 | RHSA-2016:0496 |
| 7 | git19-emacs-git +14 | 0:1.9.4-4.el7.1 | RHSA-2016:0497 |
debian 4 releases · 1 package
fixed 4
git
| Release | Package | Fixed in |
|---|---|---|
| 11 | git | 1:2.7.0-1 |
| 12 | git | 1:2.7.0-1 |
| 13 | git | 1:2.7.0-1 |
| 14 | git | 1:2.7.0-1 |
echo 1 release · 1 package
fixed 1
git
| Release | Package | Fixed in |
|---|---|---|
| git | 1:2.7.0-1 |
openSUSE 1 release · 2 packages
fixed 2
cgit
git
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | cgit | 1.0-1.3 | openSUSE-SU-2024:10137-1 |
| Tumbleweed | git +11 | 2.11.0-1.1 | openSUSE-SU-2024:10099-1 |
root.io debian 3 releases · 1 package
fixed 3
rootio-git
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-git | 1:2.7.0-1 |
| 12 | rootio-git | 1:2.7.0-1 |
| 13 | rootio-git | 1:2.7.0-1 |
References
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183147.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179121.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180763.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00059.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00060.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00061.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00062.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00071.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00074.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00076.html
Show all 32 references
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00077.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-04/msg00011.html
- pastebin.com http://pastebin.com/UX2P2jjg
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-0496.html
- www.debian.org http://www.debian.org/security/2016/dsa-3521
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/03/15/5
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/03/16/2
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- www.securityfocus.com http://www.securityfocus.com/bid/84355
- www.securitytracker.com http://www.securitytracker.com/id/1035290
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2938-1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-2315
- github.com https://github.com/git/git/commit/34fa79a6cde56d6d428ab0d3160cb094ebad3305
- github.com https://github.com/git/git/commit/de1e67d0703894cb6ea782e36abb63976ab07e60
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-2315.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-0496.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-2315
- raw.githubusercontent.com https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.7.4.txt
- security.gentoo.org https://security.gentoo.org/glsa/201605-01
- ubuntu.com https://ubuntu.com/security/notices/USN-2938-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-2315
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.