Distro advisory · AmazonLinux 1
medium priority package update for vim
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2019-20807: 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. 1842658: CVE-2019-20807 vim: users can execute arbitrary OS commands via scripting interfaces in the rvim restricted mode
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2021-1474sudo yum upgrade --advisory=ALAS-2021-1474rpm -q vim-common