RCE in Vim

CVE-2008-6235

The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) "D" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.030, 87.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Vim — versions 7.0, 7.1

Weakness classification (CWE)

References