Buffer overflow in Git-scm Git

CVE-2016-2315

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.

Vulnerability class: Buffer Overflow

EPSS: 0.177 (95.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • openSUSE-SU-2016:0829 (vendor-advisory, Mailing List, x_refsource_SUSE, Vendor Advisory)
  • FEDORA-2016-8f164810c3 (x_refsource_FEDORA, vendor-advisory, Mailing List, Third Party Advisory)
  • DSA-3521 (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
  • GLSA-201605-01 (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
  • 1035290 (Third Party Advisory, VDB Entry, vdb-entry, x_refsource_SECTRACK)
  • 84355 (Third Party Advisory, VDB Entry, vdb-entry, x_refsource_BID)
  • openSUSE-SU-2016:0803 (vendor-advisory, Mailing List, x_refsource_SUSE, Vendor Advisory)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC)
  • FEDORA-2016-cee7647200 (x_refsource_FEDORA, vendor-advisory, Mailing List, Third Party Advisory)

Frequently asked questions

What is CVE-2016-2315?
CVE-2016-2315 is a critical-severity vulnerability in Git-scm Git, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2016-04-08.
How severe is CVE-2016-2315?
Critical severity. CVSS v3 base score is 9.8 out of 10.