Arbitrary Command Injection Affecting vim package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

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 Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-VIM-9247125
  • published5 Mar 2025
  • disclosed3 Mar 2025

Introduced: 3 Mar 2025

NewCVE-2025-27423  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 vim.

NVD Description

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

Vim is an open source, command line text editor. Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Starting with 9.1.0858, the tar.vim plugin uses the ":read" ex command line to append below the cursor position, however the is not sanitized and is taken literally from the tar archive. This allows to execute shell commands via special crafted tar archives. Whether this really happens, depends on the shell being used ('shell' option, which is set using $SHELL). The issue has been fixed as of Vim patch v9.1.1164

CVSS Base Scores

version 3.1