Arbitrary Code Injection Affecting vim-enhanced package, versions <2:8.0.1763-11.el8_0


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
1.65% (88th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-VIMENHANCED-1985044
  • published26 Jul 2021
  • disclosed5 Jun 2019

Introduced: 5 Jun 2019

CVE-2019-12735  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Centos:8 vim-enhanced to version 2:8.0.1763-11.el8_0 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:8 relevant fixed versions and status.

getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim.

References

CVSS Scores

version 3.1