OS Command Injection Affecting vim-common package, versions <2:7.0.109-4.el5_2.4z


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.43% (75th 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 OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE5-VIMCOMMON-2450005
  • published10 Apr 2022
  • disclosed21 Feb 2009

Introduced: 21 Feb 2009

CVE-2008-3074  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Oracle:5 vim-common to version 2:7.0.109-4.el5_2.4z or higher.
This issue was patched in ELSA-2008-0580.

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 Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3075. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

CVSS Base Scores

version 3.1