Distro advisory · AmazonLinux 1
important priority package update for ruby20 ruby21 ruby24
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2019-8325: An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::CommandManager#run calls alert_error without escaping, escape sequence injection is possible. (There are many ways to cause an error.) 1692522: CVE-2019-8325 rubygems: Escape sequence injection vulnerability in errors
CVE-2019-8324: An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check. 1692520: CVE-2019-8324 rubygems: Installing a malicious gem may lead to arbitrary code execution
CVE-2019-8323: An issue was discovered in RubyGems 2.6 and later through 3.0.2. Gem::GemcutterUtilities#with_response may output the API response to stdout as it is. Therefore, if the API side modifies the response, escape sequence injection may occur. 1692519: CVE-2019-8323 rubygems: Escape sequence injection vulnerability in API response handling
CVE-2019-8322: An issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence injection may occur. 1692516: CVE-2019-8322 rubygems: Escape sequence injection vulnerability in gem owner
CVE-2019-8321: An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::UserInteraction#verbose calls say without escaping, escape sequence injection is possible. 1692514: CVE-2019-8321 rubygems: Escape sequence injection vulnerability in verbose
CVE-2019-8320: A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination.…
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2019-1255sudo yum upgrade --advisory=ALAS-2019-1255rpm -q ruby20 ruby21 ruby24 rubygems20 rubygems21 rubygems24 …