Netrw plugin in Vim allows arbitrary code execution
Multiple products
At a glance
The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames used by the execute and system functions within the (1) mz and (2) mc commands, as demonstrated by the netrw.v2 and netrw.v3 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 9.023%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:vim | vim | Affected versions: 7.2a.10 |
| Vendor:Debian | vimEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-commonEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-dbgEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-docEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-fullEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-gnomeEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-gtkEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-gui-commonEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
| Vendor:Debian | vim-lesstifEnvironments (4)
| Affected versions: < 2:7.2.010-1 |
1–10 of 17 · Page 1 of 2
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary9.3 / 10HighCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:C/I:C/A:Cnvd · Wazuh CTI (cna)9.3 / 10HighCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:C/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories21
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences