Distro advisory · AmazonLinux 1
important priority package update for ruby24
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-2019-16255: Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method. 1793683: CVE-2019-16255 ruby: Code injection via command argument of Shell#test / Shell#[]
CVE-2019-16254: Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response Splitting. If a program using WEBrick inserts untrusted input into the response header, an attacker can exploit it to insert a newline character to split a header, and inject malicious content to deceive clients. NOTE: this issue exists because of an incomplete fix for CVE-2017-17742, which addressed the CRLF vector, but did not address an isolated CR or an isolated LF. 1789556: CVE-2019-16254 ruby: HTTP response splitting in WEBrick (Additional fix)
CVE-2019-16201: WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 has a regular expression Denial of Service cause by looping/backtracking. A victim must expose a WEBrick server that uses DigestAuth to the Internet or a untrusted network. 1773728: CVE-2019-16201 ruby: regular expression denial of service vulnerability of WEBrick's Digest access authentication
CVE-2019-15845: Ruby through 2.4.7,…
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2020-1422sudo yum upgrade --advisory=ALAS-2020-1422rpm -q ruby24 rubygems24 rubygem24-bigdecimal rubygem24-did_you_mean rubygem24-io-console rubygem24-json …