CVE-2007-2438

NameCVE-2007-2438
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1364-1, DSA-1364-2
Debian Bugs435401

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
vim (PTS)buster2:8.1.0875-5+deb10u2fixed
buster (security)2:8.1.0875-5+deb10u6fixed
bullseye2:8.2.2434-3+deb11u1fixed
bookworm2:9.0.1378-2fixed
trixie2:9.1.0016-1fixed
sid2:9.1.0377-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
vimsourcesarge1:6.3-071+1sarge2DSA-1364-1
vimsourceetch1:7.0-122+1etch3DSA-1364-2
vimsource(unstable)1:7.1-022+1low435401

Notes

[sarge] - vim <not-affected> (Vulnerable code not present)
Exploitable through modelines, needs to be used with care in any case

Search for package or bug name: Reporting problems