CVE-2019-20807 Command injection in n/a
Attackers can bypass restricted mode in Vim to execute arbitrary OS commands via scripting interfaces, requiring restricted mode to be enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-20807?
CVE-2019-20807 is a medium-severity command injection vulnerability in Apple Mac Os X, published on 28 May 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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).
Weakness: CWE-78
Which versions are affected by CVE-2019-20807?
It affects 7 products.
Linux distribution packages (40)
vim-X11 Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-X11-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-common Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-common-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-enhanced Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-enhanced-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-filesystem Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim-minimal-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-15.el8 |
vim Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim-X11-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim-common-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim-enhanced-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim-minimal Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim-minimal-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-15.el8 |
vim Rocky Linux:8 | All versions | 2:8.0.1763-15.el8 |
vim SUSE:Enterprise Storage 5 | All versions | 7.4.326-17.6.1 |
vim SUSE:HPE Helion OpenStack 8 | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 8.0.1568-5.6.1 |
vim SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 8.0.1568-5.6.1 |
vim SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 8.0.1568-5.6.1 |
vim SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 8.0.1568-5.6.1 |
vim SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | All versions | 8.0.1568-5.6.1 |
vim SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 | All versions | 8.0.1568-5.6.1 |
vim SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 7.2-8.21.6.2 |
vim SUSE:Linux Enterprise Server 11 SP4-LTSS | All versions | 7.2-8.21.6.2 |
vim SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server 12 SP2-LTSS | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server 12 SP4 | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server 12 SP5 | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server 15-LTSS | All versions | 8.0.1568-5.6.1 |
vim SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 7.4.326-17.6.1 |
vim SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 7.4.326-17.6.1 |
Products include Apple Mac Os X, Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Leap, Starwindsoftware Command Center, Starwindsoftware San \& Nas and 1 more.
How do I fix CVE-2019-20807?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2019-20807 being exploited?
There is no known exploitation of CVE-2019-20807 in the wild and no public exploit code.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as DEBIAN-CVE-2019-20807, GHSA-f76x-65j4-28x3, RHSA-2020:4453, RLSA-2020:4453, SUSE-SU-2020:14385-1, SUSE-SU-2020:1550-1 and 3 more.