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)
NVD severitymedium (attack range: local)
Debian Bugs493937

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
vim (PTS)jessie2:7.4.488-7+deb8u3fixed
jessie (security)2:7.4.488-7+deb8u4fixed
stretch2:8.0.0197-4+deb9u1fixed
stretch (security)2:8.0.0197-4+deb9u3fixed
bullseye, sid, buster2:8.1.0875-5fixed

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

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

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