CVE-2019-20807
Description
In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS commands via scripting interfaces (e.g., Python, Ruby, or Lua).
Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L · source nvd
Exploit chance (EPSS)
0.469%
chance of exploitation in the next 30 days
higher than 41.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
Timeline
- 2020-05-28Published by the CNA13:05 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| vim vim | before 8.1.0881fixed in 8.1.0881 | 8.1.0881 |
| apple mac_os_x | 10.13.6no fix listed10.14.6no fix listed | not listednot listed |
| canonical ubuntu_linux | 16.04no fix listed18.04no fix listed | not listednot listed |
| debian debian_linux | 9.0no fix listed | not listed |
| opensuse leap | 15.1no fix listed | not listed |
| starwindsoftware command_center | 2no fix listed | not listed |
| starwindsoftware san_&_nas | 1.0no fix listed | not listed |
References
- https://github.com/vim/vim/commit/8c62a08faf89663e5633dc5036cd8695c80f1075
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00018.html
- https://usn.ubuntu.com/4582-1/
- http://seclists.org/fulldisclosure/2020/Jul/24
- https://github.com/vim/vim/releases/tag/v8.1.0881
- https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html
- https://support.apple.com/kb/HT211289
- https://www.starwindsoftware.com/security/sw-20220812-0003/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2019-20807'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2019-20807'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2019-20807'curl 'https://api.contrastcyber.com/cve_products/CVE-2019-20807'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).