CVE-2008-3074
Summary
| CVE | CVE-2008-3074 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2009-02-21 22:30:00 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:N/AC:M/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Vim | Tar.vim | v.10 | All | All | All |
| Application | Vim | Tar.vim | v.11 | All | All | All |
| Application | Vim | Tar.vim | v.12 | All | All | All |
| Application | Vim | Tar.vim | v.13 | All | All | All |
| Application | Vim | Tar.vim | v.14 | All | All | All |
| Application | Vim | Tar.vim | v.15 | All | All | All |
| Application | Vim | Tar.vim | v.16 | All | All | All |
| Application | Vim | Tar.vim | v.17 | All | All | All |
| Application | Vim | Tar.vim | v.18 | All | All | All |
| Application | Vim | Tar.vim | v.19 | All | All | All |
| Application | Vim | Tar.vim | v.20 | All | All | All |
| Application | Vim | Tar.vim | v.21 | All | All | All |
| Application | Vim | Tar.vim | v.22 | All | All | All |
| Application | Vim | Vim | 7.0 | All | All | All |
| Application | Vim | Vim | 7.1 | All | All | All |
| Application | Vim | Vim | 7.1.266 | All | All | All |
| Application | Vim | Vim | 7.1.314 | All | All | All |
| Application | Vim | Vim | 7.2 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| oss-security - Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Repository / Oval Repository | af854a3a-2127-422b-91ae-364da2661108 | oval.cisecurity.org | |
| SUSE Update for Multiple Packages - Advisories - Community | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| wiki.rpath.com/wiki/Advisories:rPSA-2008-0324 | af854a3a-2127-422b-91ae-364da2661108 | wiki.rpath.com | |
| Improper Implementation of shellescape()/Arbitrary Code Execution | af854a3a-2127-422b-91ae-364da2661108 | www.rdancer.org | |
| oss-security - Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| 'Re: Collection of Vulnerabilities in Fully Patched Vim 7.1' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| Vim 'tar.vim' Plugin Arbitrary Command Execution Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| oss-security - Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| oss-security - Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| [security-announce] SUSE Security Summary Report: SUSE-SR:2009:007 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| oss-security - CVE request (vim) | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Support / Security / Advisories / / MDVSA-2008:236 | Mandriva | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| oss-security - Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Exploit, Patch |
| Collection of Vulnerabilities in Fully Patched Vim 7.1 | af854a3a-2127-422b-91ae-364da2661108 | www.rdancer.org | Exploit, Patch, Vendor Advisory |
| #506919 - vim: multiple vulnerabilities (CVE-2008-3074, CVE-2008-3075, and CVE-2008-3076) - Debian Bug report logs | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | |
| oss-security - Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Bug 467428 – CVE-2008-3074 Vim tar.vim plugin: improper Implementation of shellescape() (arbitrary code execution) | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| oss-security - Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| oss-security - Vim CVE issues cleanup (plugins tar.vim, zip.vim) - CVE-2008-3074 and CVE-2008-3075 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.