RCE in Neovim

CVE-2019-12735

getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.190, 97.3th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

5 public repositories with exploit or proof-of-concept code for this CVE:

Also mentioned in 14 other repositories (0xT11/CVE-POC, ARPSyndicate/cvemon, dai5z/LBAS, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References