Improper Input Validation Affecting vim-enhanced package, versions <2:7.4.160-1.el7_3.1


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
80.97% (99th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-VIMENHANCED-2076045
  • published26 Jul 2021
  • disclosed20 Nov 2016

Introduced: 20 Nov 2016

CVE-2016-1248  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-138  (opens in a new tab)

How to fix?

Upgrade Centos:7 vim-enhanced to version 2:7.4.160-1.el7_3.1 or higher.

NVD Description

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

vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.