U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2007-2438 Detail

Description

The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attackers to execute shell commands and write files via modelines.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Evaluator Impact

Successful exploitation requires that the "modelines" option is enabled and the user is tricked into opening a malicious file.

Evaluator Solution

The vendor has addressed this issue with the following patches: VIM Development Group VIM 7.0- VIM Development Group patch 7.0.234 ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.234 VIM Development Group patch 7.0.235 ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.235

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://attrition.org/pipermail/vim/2007-May/001614.html CVE, Inc., Red Hat
http://marc.info/?l=vim-dev&m=117762581821298&w=2 CVE, Inc., Red Hat
http://marc.info/?l=vim-dev&m=117778983714029&w=2 CVE, Inc., Red Hat Exploit 
http://osvdb.org/36250 CVE, Inc., Red Hat
http://secunia.com/advisories/25024 CVE, Inc., Red Hat Vendor Advisory 
http://secunia.com/advisories/25159 CVE, Inc., Red Hat Vendor Advisory 
http://secunia.com/advisories/25182 CVE, Inc., Red Hat Vendor Advisory 
http://secunia.com/advisories/25255 CVE, Inc., Red Hat Vendor Advisory 
http://secunia.com/advisories/25367 CVE, Inc., Red Hat
http://secunia.com/advisories/25432 CVE, Inc., Red Hat
http://secunia.com/advisories/26653 CVE, Inc., Red Hat
http://tech.groups.yahoo.com/group/vimannounce/message/178 CVE, Inc., Red Hat
http://tech.groups.yahoo.com/group/vimdev/message/46627 CVE, Inc., Red Hat
http://tech.groups.yahoo.com/group/vimdev/message/46645 CVE, Inc., Red Hat
http://tech.groups.yahoo.com/group/vimdev/message/46658 CVE, Inc., Red Hat
http://www.attrition.org/pipermail/vim/2007-August/001770.html CVE, Inc., Red Hat
http://www.debian.org/security/2007/dsa-1364 CVE, Inc., Red Hat
http://www.mandriva.com/security/advisories?name=MDKSA-2007:101 CVE, Inc., Red Hat
http://www.novell.com/linux/security/advisories/2007_12_sr.html CVE, Inc., Red Hat
http://www.redhat.com/support/errata/RHSA-2007-0346.html CVE, Inc., Red Hat
http://www.securityfocus.com/archive/1/467202/100/0/threaded CVE, Inc., Red Hat
http://www.securityfocus.com/bid/23725 CVE, Inc., Red Hat
http://www.securitytracker.com/id?1018035 CVE, Inc., Red Hat
http://www.trustix.org/errata/2007/0017/ CVE, Inc., Red Hat
http://www.ubuntu.com/usn/usn-463-1 CVE, Inc., Red Hat
http://www.vim.org/news/news.php CVE, Inc., Red Hat
http://www.vupen.com/english/advisories/2007/1599 CVE, Inc., Red Hat
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238259 CVE, Inc., Red Hat
https://exchange.xforce.ibmcloud.com/vulnerabilities/34012 CVE, Inc., Red Hat
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9876 CVE, Inc., Red Hat

Weakness Enumeration

CWE-ID CWE Name Source
NVD-CWE-Other Other cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-2438
NVD Published Date:
05/02/2007
NVD Last Modified:
04/08/2025
Source:
Red Hat, Inc.