Distro advisory · Debian 3.1
vim
Description
Vulnerability : several Problem-Type : local(remote) Debian-specific: no CVE ID : CVE-2007-2438 CVE-2007-2953
Several vulnerabilities have been discovered in the vim editor. The Common Vulnerabilities and Exposures project identifies the following problems:
CVE-2007-2953
Ulf Harnhammar discovered that a format string flaw in helptags_one() from
src/ex_cmds.c (triggered through the "helptags" command) can lead to the
execution of arbitrary code.
CVE-2007-2438
Editors often provide a way to embed editor configuration commands (aka
modelines) which are executed once a file is opened. Harmful commands
are filtered by a sandbox mechanism. It was discovered that function
calls to writefile(), feedkeys() and system() were not filtered, allowing
shell command execution with a carefully crafted file opened in vim.
Manual fix · Debian 3.1
sudo apt-get updatesudo apt-get install --only-upgrade vimdpkg -s vim | grep VersionSources