Distro advisory · AmazonLinux 1
medium priority package update for ruby20
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2020-10663: The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2.4.9, 2.5 through 2.5.7, and 2.6 through 2.6.5, has an Unsafe Object Creation Vulnerability. This is quite similar to CVE-2013-0269, but does not rely on poor garbage-collection behavior within Ruby. Specifically, use of JSON parsing methods can lead to creation of a malicious object within the interpreter, with adverse effects that are application-dependent. 1827500: CVE-2020-10663 rubygem-json: Unsafe Object Creation Vulnerability in JSON
CVE-2018-16396: An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats. 1643089: CVE-2018-16396 ruby: Tainted flags are not propagated in Array#pack and String#unpack with some directives 1643089: CVE-2018-16396 ruby: Tainted flags are not propagated in Array#pack and String#unpack with some directives
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2020-1416sudo yum upgrade --advisory=ALAS-2020-1416rpm -q ruby20 rubygems20 rubygem20-bigdecimal rubygem20-io-console rubygem20-psych