Improper Input Validation Affecting vim-common package, versions <2:7.4.160-1.el7_3.1
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 ID SNYK-RHEL7-VIMCOMMON-4667170
- published 26 Jul 2021
- disclosed 20 Nov 2016
How to fix?
Upgrade RHEL:7 vim-common to version 2:7.4.160-1.el7_3.1 or higher.
This issue was patched in RHSA-2016:2972.
NVD Description
Note: Versions mentioned in the description apply only to the upstream vim-common package and not the vim-common package as distributed by RHEL.
See How to fix? for RHEL: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.
References
- http://www.securityfocus.com/bid/94478
- http://openwall.com/lists/oss-security/2016/11/22/20
- https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog
- https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040
- https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
- https://github.com/vim/vim/releases/tag/v8.0.0056
- https://lists.debian.org/debian-security-announce/2016/msg00305.html
- https://access.redhat.com/security/cve/CVE-2016-1248
- http://www.debian.org/security/2016/dsa-3722
- https://security.gentoo.org/glsa/201701-29
- https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html
- http://rhn.redhat.com/errata/RHSA-2016-2972.html
- https://access.redhat.com/errata/RHSA-2016:2972
- http://www.securitytracker.com/id/1037338
- http://www.ubuntu.com/usn/USN-3139-1