CVEfocus › CVE database › CVE-2016-2315

CVE-2016-2315

CVSS 9.8 CriticalEPSS 17.3% (higher than 97% of CVEs)Published 2016-04-08Updated 2024-08-05Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 17% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

32Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04gitFixed1:1.9.1-1ubuntu0.3UBUNTU-CVE-2016-2315
Debian 14gitFixed1:2.7.0-1DEBIAN-CVE-2016-2315
Debian 13gitFixed1:2.7.0-1DEBIAN-CVE-2016-2315
Debian 12gitFixed1:2.7.0-1DEBIAN-CVE-2016-2315
Red Hat Enterprise Linux 7emacs-gitFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7emacs-git-elFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7gitFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-allFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-bzrFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-cvsFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-daemonFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-emailFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-guiFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-hgFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-p4Fixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7git-svnFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7gitkFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7gitwebFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7perl-GitFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 7perl-Git-SVNFixed0:1.8.3.1-6.el7_2.1RHSA-2016:0496
Red Hat Enterprise Linux 6emacs-gitFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6emacs-git-elFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6gitFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6git-allFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6git-cvsFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6git-daemonFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6git-emailFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6git-guiFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6git-svnFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6gitkFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6gitwebFixed0:1.7.1-4.el6_7.1RHSA-2016:0496
Red Hat Enterprise Linux 6perl-GitFixed0:1.7.1-4.el6_7.1RHSA-2016:0496

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.