Back

MEDIUM

vim: untrusted python modules search path

Published Jan 28, 2009

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.

Affected products

Remediation

Red Hat statement

This issue did not affect vim as shipped in Red Hat Enterprise Linux 3 and 4. This issue is not planned to be fixed in vim packages in Red Hat Enterprise Linux 5.

Metrics

Weaknesses (0)

No CWE recorded.

References (14)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jan 28, 2009
Updated Aug 7, 2024
Reserved Jan 27, 2009
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Aug 6, 2008