Bug 1842658 (CVE-2019-20807)
Summary: | CVE-2019-20807 vim: users can execute arbitrary OS commands via scripting interfaces in the rvim restricted mode | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Guilherme de Almeida Suckevicz <gsuckevi> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | gchamoul, huzaifas, karsten, zdohnal |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | vim 8.1.088, vim 8.2.0884 | Doc Type: | If docs needed, set a value |
Doc Text: |
A flaw was found in vim in the restricted mode, where all commands that make use of external shells are disabled. However, it was found that users could still execute some arbitrary OS commands in the restricted mode. This flaw was fixed by filtering the functions that can call OS commands. Interfaces such as Python, Ruby, and Lua, are also disabled, as they can be used to execute shell commands. Perl uses the Safe module.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 02:25:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1842752, 1842754, 1842755 | ||
Bug Blocks: | 1842659 |
Description
Guilherme de Almeida Suckevicz
2020-06-01 19:21:31 UTC
Created vim tracking bugs for this issue: Affects: fedora-all [bug 1842752] Statement: Upstream suggests that users may still find loopholes to execute a shell commands, it has only been made difficult. So administrators should not assume that vim restricted mode will completely disable execution of OS commands. This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:4453 https://access.redhat.com/errata/RHSA-2020:4453 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-20807 |