RCE in Vim Tar.vim

CVE-2008-3074

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.038 (89.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2008-3074: held from 0.038 to 0.038.

EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000

Affected products

  • Vim Tar.vim — versions v.10, v.11, v.12
  • Vim — versions 7.0, 7.1, 7.1.266

Weakness classification (CWE)

References