Out-of-Bounds Affecting emacs-git package, versions <0:2.7.4-1.47.amzn1


Severity

Recommended
high

Based on Amazon Linux 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-AMZN201803-EMACSGIT-1694789
  • published27 Sept 2021
  • disclosed8 Apr 2016

Introduced: 8 Apr 2016

CVE-2016-2315  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 emacs-git to version 0:2.7.4-1.47.amzn1 or higher.
This issue was patched in ALAS-2016-672.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs-git package and not the emacs-git package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 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