Distro advisory · AmazonLinux 1
low priority package update for ruby24
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-1506sudo yum upgrade --advisory=ALAS-2021-1506rpm -q ruby24 rubygems24 rubygem24-bigdecimal rubygem24-did_you_mean rubygem24-io-console rubygem24-json …