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)

EPSS: 0.030 (85.9th percentile) — read the EPSS interpretation.

Affected products

  • Vim — versions 7.0, 7.1
  • N/a — versions n/a

Weakness classification (CWE)

References