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)jessie, jessie (lts)2:7.4.488-7+deb8u11fixed
stretch (security)2:8.0.0197-4+deb9u7fixed
stretch (lts), stretch2:8.0.0197-4+deb9u11fixed
buster (security), buster, buster (lts)2:8.1.0875-5+deb10u6fixed
bullseye2:8.2.2434-3+deb11u1fixed
bookworm2:9.0.1378-2fixed
sid, trixie2:9.1.0861-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