Vim up to 7.2 PySys_SetArgv memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.9$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in Vim up to 7.2. The affected element is the function PySys_SetArgv. This manipulation causes memory corruption. The identification of this vulnerability is CVE-2009-0316. There is no exploit available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability has been found in Vim up to 7.2 (Word Processing Software) and classified as critical. Affected by this vulnerability is the function PySys_SetArgv. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

The bug was discovered 01/26/2009. The weakness was shared 01/28/2009 (Website). The advisory is shared at svn.pardus.org.tr. This vulnerability is known as CVE-2009-0316 since 01/27/2009. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 36407 (Mandriva Linux Security Advisory : vim (MDVSA-2009:047-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117331 (Apple Mac OS X Security Update 2010-002 Not Installed (APPLE-SA-2010-03-29-1)).

Upgrading to version 3.0 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (48275), Tenable (36407), SecurityFocus (BID 33447†), OSVDB (53373†) and Vulnerability Center (SBV-21288†). The entries VDB-46127, VDB-46126, VDB-46124 and VDB-46123 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.3
VulDB Meta Temp Score: 8.9

VulDB Base Score: 9.3
VulDB Temp Score: 8.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 36407
Nessus Name: Mandriva Linux Security Advisory : vim (MDVSA-2009:047-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 102039
OpenVAS Name: get_kb_item(ssh/login/osx_name
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Vim 3.0

Timelineinfo

01/26/2009 🔍
01/26/2009 +0 days 🔍
01/26/2009 +0 days 🔍
01/27/2009 +1 days 🔍
01/28/2009 +1 days 🔍
01/28/2009 +0 days 🔍
02/24/2009 +27 days 🔍
03/16/2009 +20 days 🔍
04/23/2009 +38 days 🔍
03/17/2015 +2154 days 🔍
02/02/2025 +3610 days 🔍

Sourcesinfo

Advisory: svn.pardus.org.tr
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2009-0316 (🔍)
GCVE (CVE): GCVE-0-2009-0316
GCVE (VulDB): GCVE-100-46129
X-Force: 48275
SecurityFocus: 33447 - Vim 'PySys_SetArgv' Remote Command Execution Vulnerability
OSVDB: 53373 - Python PySys_SetArgv() function privilege escalation
Vulnerability Center: 21288 - VIM Development Group Vim <7.2.045 Python PySys_SetArgv Function Remote Code Execution Vulnerability, Medium

See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 02/02/2025 04:10
Changes: 03/17/2015 16:11 (76), 08/30/2019 17:53 (4), 02/02/2025 04:10 (20)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!