CVE-2008-3074

Vim tar.vim v.10-v.22 - OS Command Injection via Tar Archive Filename

Title source: llm
STIX 2.1

Description

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.

References (21)

Core 21
Core References
Exploit, Patch, Vendor Advisory x_refsource_misc
http://www.rdancer.org/vulnerablevim.html
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/07/15/4
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/10/20/2
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/32462
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/07/13/1
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0580.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/34418
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/07/07/1
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/08/01/1
Third Party Advisory x_refsource_confirm
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=121494431426308&w=2
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/07/08/12
Issue Tracking x_refsource_confirm
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/07/10/7
Exploit, Patch mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/07/07/4
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=467428
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/10/15/1

Scores

EPSS 0.0268
EPSS Percentile 86.0%

Details

CWE
CWE-78
Status published
Products (18)
vim/tar.vim v.10
vim/tar.vim v.11
vim/tar.vim v.12
vim/tar.vim v.13
vim/tar.vim v.14
vim/tar.vim v.15
vim/tar.vim v.16
vim/tar.vim v.17
vim/tar.vim v.18
vim/tar.vim v.19
... and 8 more
Published Feb 21, 2009
Tracked Since Feb 18, 2026