CVE-2008-3074
publishedplugin: improper Implementation of shellescape() (arbitrary code execution)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | etch | vim | Advisory build | 1:7.0-122+1etch5 | DSA-1733-1 |
| Red Hat Enterprise Linux | RHEL-5 | vimsrc | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-X11i386 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-X11ia64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-X11ppc | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-X11s390x | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-X11x86_64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-5 | vim-commoni386 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-commonia64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-commonppc | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-commons390x | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-commonx86_64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-debuginfoi386 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-debuginfoia64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-debuginfoppc | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-debuginfos390x | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-debuginfox86_64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-enhancedi386 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-enhancedia64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-enhancedppc | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-enhanceds390x | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-enhancedx86_64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-minimali386 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-minimalia64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-minimalppc | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-minimals390x | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
| Red Hat Enterprise Linux | RHEL-5 | vim-minimalx86_64 | Advisory build | 2:7.0.109-4.el5_2.4z | RHSA-2008:0580 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
21- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
- SUSE-SR:2009:007 http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
- 20080701 Re: Collection of Vulnerabilities in Fully Patched Vim 7.1 http://marc.info/?l=bugtraq&m=121494431426308&w=2
- 34418 http://secunia.com/advisories/34418
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
- MDVSA-2008:236 http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
- [oss-security] 20080707 Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 http://www.openwall.com/lists/oss-security/2008/07/07/1
- [oss-security] 20080707 Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 http://www.openwall.com/lists/oss-security/2008/07/07/4
- [oss-security] 20080708 Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 http://www.openwall.com/lists/oss-security/2008/07/08/12
- [oss-security] 20080710 Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 http://www.openwall.com/lists/oss-security/2008/07/10/7
- [oss-security] 20080713 Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 http://www.openwall.com/lists/oss-security/2008/07/13/1
- [oss-security] 20080715 Re: Re: More arbitrary code executions in Netrw http://www.openwall.com/lists/oss-security/2008/07/15/4
- [oss-security] 20080731 Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 http://www.openwall.com/lists/oss-security/2008/08/01/1
- [oss-security] 20081015 Vim CVE issues cleanup (plugins tar.vim, zip.vim) - CVE-2008-3074 and CVE-2008-3075 http://www.openwall.com/lists/oss-security/2008/10/15/1
- [oss-security] 20081020 CVE request (vim) http://www.openwall.com/lists/oss-security/2008/10/20/2
- http://www.rdancer.org/vulnerablevim-shellescape.html
- http://www.rdancer.org/vulnerablevim.html
- RHSA-2008:0580 http://www.redhat.com/support/errata/RHSA-2008-0580.html
- 32462 http://www.securityfocus.com/bid/32462
- https://bugzilla.redhat.com/show_bug.cgi?id=467428
- oval:org.mitre.oval:def:10754 https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10754
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6786971c5ab439001dce833281f814cc36c848067137cf177d132cfba5808b62
- Ingested
- 23 Sep 2026, 07:38:25 UTC
- Source record
- Official CVE record