Incorrect Calculation of Buffer Size Affecting gitk package, versions <0:1.8.3.1-6.el7_2.1


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
11.93% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-GITK-2062527
  • published26 Jul 2021
  • disclosed6 Mar 2016

Introduced: 6 Mar 2016

CVE-2016-2315  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-194  (opens in a new tab)

How to fix?

Upgrade Centos:7 gitk to version 0:1.8.3.1-6.el7_2.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitk package and not the gitk package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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

CVSS Scores

version 3.1