{"answers":{"affected":"It affects 7 products.","exploited":"There is no known exploitation of CVE-2019-20807 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2019-20807 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2019-20807 in the wild and no public exploit code.\n\nAffected product: Apple Mac Os X. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-20807/ (Markdown: https://insights.sbomify.com/CVE-2019-20807/index.md)","id":"CVE-2019-20807","markdown":"https://insights.sbomify.com/CVE-2019-20807/index.md","name":"CVE-2019-20807","record":{"aliases":["DEBIAN-CVE-2019-20807","GHSA-f76x-65j4-28x3","RHSA-2020:4453","RLSA-2020:4453","SUSE-SU-2020:14385-1","SUSE-SU-2020:1550-1","SUSE-SU-2020:1551-1","UBUNTU-CVE-2019-20807","openSUSE-SU-2020:0794-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Vim text editor","requires_auth":"low_privilege","summary":"Attackers can bypass restricted mode in Vim to execute arbitrary OS commands via scripting interfaces, requiring restricted mode to be enabled.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mac_os_x","vendor":"apple"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"leap","vendor":"opensuse"},{"product":"command_center","vendor":"starwindsoftware"},{"product":"san_\\\u0026_nas","vendor":"starwindsoftware"},{"product":"vim","vendor":"vim"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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).","ecosystems":["Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Rocky Linux:8","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP1","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Desktop Applications 15 SP1","SUSE:Linux Enterprise Module for Desktop Applications 15 SP2","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","openSUSE:Leap 15.1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2019-20807","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:mac_os_x","products":["apple:mac_os_x","canonical:ubuntu_linux","debian:debian_linux","opensuse:leap","vim:vim"],"type":"command_injection","year":"2019"},"n_packages":45,"n_references":8,"next":{"headline":"Denial of service in n/a","id":"CVE-2019-20808"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-X11-debuginfo","purl":"pkg:rpm/redhat/vim-X11-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/redhat/vim-common","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-common-debuginfo","purl":"pkg:rpm/redhat/vim-common-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-debugsource","purl":"pkg:rpm/redhat/vim-debugsource","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced-debuginfo","purl":"pkg:rpm/redhat/vim-enhanced-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-filesystem","purl":"pkg:rpm/redhat/vim-filesystem","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-minimal-debuginfo","purl":"pkg:rpm/redhat/vim-minimal-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-X11-debuginfo","purl":"pkg:rpm/redhat/vim-X11-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-common-debuginfo","purl":"pkg:rpm/redhat/vim-common-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-debuginfo","purl":"pkg:rpm/redhat/vim-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-debugsource","purl":"pkg:rpm/redhat/vim-debugsource","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced-debuginfo","purl":"pkg:rpm/redhat/vim-enhanced-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2020:4453"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim-minimal-debuginfo","purl":"pkg:rpm/redhat/vim-minimal-debuginfo","source":"RHSA-2020:4453"},{"ecosystem":"Rocky Linux:8","fixed":["2:8.0.1763-15.el8"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/rocky-linux/vim?distro=rocky-linux-8-4-legacy\u0026epoch=2","source":"RLSA-2020:4453"},{"ecosystem":"SUSE:Enterprise Storage 5","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Enterprise%20Storage%205","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["8.0.1568-5.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2020:1551-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["8.0.1568-5.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2020:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP1","fixed":["8.0.1568-5.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1","source":"SUSE-SU-2020:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["8.0.1568-5.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2020:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP1","fixed":["8.0.1568-5.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP1","source":"SUSE-SU-2020:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP2","fixed":["8.0.1568-5.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP2","source":"SUSE-SU-2020:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["7.2-8.21.6.2"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2020:14385-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","fixed":["7.2-8.21.6.2"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSS","source":"SUSE-SU-2020:14385-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["8.0.1568-5.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2020:1551-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2020:1550-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["7.4.326-17.6.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/suse/vim\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2020:1550-1"}],"prev":{"headline":"Null dereference in n/a","id":"CVE-2019-20806"},"products":["n/a"],"published":"2020-05-28","related":[{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-7169","kev_date_added":"2022-01-28","published":"2014-09-25"},{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-6271","kev_date_added":"2022-01-28","published":"2014-09-24"},{"cvss_score":9.8,"headline":"PHP-CGI Query String Parameter","id":"CVE-2012-1823","kev_date_added":"2022-03-25","published":"2012-05-11"},{"cvss_score":7.8,"headline":"Apple macOS Unspecified","id":"CVE-2021-30713","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":7.8,"headline":"Apple macOS Use-After-Free","id":"CVE-2019-8526","kev_date_added":"2023-04-17","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple OS X Authentication Bypass","id":"CVE-2015-1130","kev_date_added":"2022-02-10","published":"2015-04-10"},{"cvss_score":5.5,"headline":"Apple macOS Out-of-Bounds Read","id":"CVE-2022-22674","kev_date_added":"2022-04-04","published":"2022-05-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can bypass restricted mode in Vim to execute arbitrary OS commands via scripting interfaces, requiring restricted mode to be enabled.","url":"https://insights.sbomify.com/CVE-2019-20807/"}