Skip to content
OpenAdvisories
Unscored CVE-2009-0316 EUVD-2009-0320GHSA-x433-429v-9473

Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrar…

Published Jan 28, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

Untrusted 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vim 2:7.2.025-2 —
Debian 13 vim 2:7.2.025-2 —
Debian 12 vim 2:7.2.025-2 —
ReleasePackageFixed inAdvisory
SLES 12 SP5 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES 12 SP4 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES 12 SP3 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES 12 SP2 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES for SAP 12 SP4 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SUSE OpenStack Cloud Crowbar 9 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SUSE OpenStack Cloud 9 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed vim 8.0.130-1.1 openSUSE-SU-2024:10234-1

Advisories 2

References