Distro advisory · AmazonLinux 1
low priority package update for ruby20
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2021-31799: RDoc before version 6.3.1 used to call Kernel#open to open a local file. If a Ruby project has a file whose name starts with "|" and ends with "tags", the command following the pipe character is executed. A malicious Ruby project could exploit it to run an arbitrary command execution against a user who attempts to run the rdoc command.
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2021-1505sudo yum upgrade --advisory=ALAS-2021-1505rpm -q ruby20 rubygems20 rubygem20-bigdecimal rubygem20-io-console rubygem20-psych