CVE-2019-20807: OS Command Injection

Published May 28, 2020
·
Updated

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).

Other sources

Vim. This issue was addressed with improved checks.

Credit

Guilherme de Almeida Suckevicz

Affected Software

15 affected componentsFixes available
Apple macOS Catalina<10.15.6
10.15.6
Apple Mojave
Apple High Sierra
vim Vim<8.1.0881
Debian Debian Linux=9.0
openSUSE Leap=15.1
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Apple iOS and macOS=10.13.6
Apple iOS and macOS=10.14.6
Starwindsoftware Command Center=2-build_6003
Starwindsoftware San \& Nas=1.0-update_1
debian/vim
2:8.2.2434-3+deb11u12:8.2.2434-3+deb11u32:9.0.1378-2+deb12u22:9.1.1230-22:9.1.2141-1
redhat/vim<8.1.088
8.1.088
redhat/vim<8.2.0884
8.2.0884

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade macOS Catalina to a version that resolves this vulnerability.

    Fixed in 10.15.6
  2. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:8.2.2434-3+deb11u1Fixed in 2:8.2.2434-3+deb11u3Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-2Fixed in 2:9.1.2141-1
  3. Upgrade

    Upgrade redhat/vim to a version that resolves this vulnerability.

    Fixed in 8.1.088
  4. Upgrade

    Upgrade redhat/vim to a version that resolves this vulnerability.

    Fixed in 8.2.0884
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.1.0881

Event History

May 28, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·01:05 PM
Data Sourced
via MITRE·01:05 PM
Description
Jun 1, 2020
Data Sourced
via Red Hat·07:21 PM
DescriptionSeverityAffected Software
Sep 1, 2022
Data Sourced
03:14 PM
Weakness
Data Sourced
via NVD·03:14 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:14 PM
Affected Software
Nov 21, 2024
Updated
via NVD·04:39 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2019-20807?

CVE-2019-20807 is a vulnerability in Vim that was addressed with improved checks.

2

Which software versions are affected by CVE-2019-20807?

CVE-2019-20807 affects macOS Catalina 10.15.6, Mojave, and High Sierra.

3

How can I fix CVE-2019-20807?

To fix CVE-2019-20807, update your macOS to the latest available version.

4

Where can I find more information about CVE-2019-20807?

You can find more information about CVE-2019-20807 on the Apple support website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203