Integer Overflow or Wraparound Affecting vim-minimal package, versions <2:8.0.0503-1.45.amzn1


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.77% (73rd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-VIMMINIMAL-1704843
  • published27 Sept 2021
  • disclosed27 Feb 2017

Introduced: 27 Feb 2017

CVE-2017-6350  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 vim-minimal to version 2:8.0.0503-1.45.amzn1 or higher.
This issue was patched in ALAS-2017-809.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-minimal package and not the vim-minimal package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

An integer overflow at an unserialize_uep memory allocation site would occur for vim before patch 8.0.0378, if it does not properly validate values for tree length when reading a corrupted undo file, which may lead to resultant buffer overflows.