CVE-2009-0316

NameCVE-2009-0316
DescriptionUntrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983), as demonstrated by an erroneous search path for plugin/bike.vim in bicyclerepair.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
Debian Bugs493937

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
vim (PTS)stretch2:8.0.0197-4+deb9u3fixed
stretch (security)2:8.0.0197-4+deb9u6fixed
buster2:8.1.0875-5+deb10u2fixed
bullseye2:8.2.2434-3+deb11u1fixed
bookworm, sid2:8.2.4793-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
vimsourcelenny1:7.1.314-3+lenny2
vimsourcesqueeze1:7.1.314-3+lenny2
vimsource(unstable)2:7.2.025-2low493937

Notes

[etch] - vim <no-dsa> (Minor issue)
Not included in this round, could be fixed via next DSA with other issues

Search for package or bug name: Reporting problems