Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-41817: A flaw was found in ruby, where the date object was found to be vulnerable to a regular expression denial of service (ReDoS) during the parsing of dates. This flaw allows an attacker to hang a ruby application by providing a specially crafted date string. The highest threat to this vulnerability is system availability.
Fixed packages 16
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | ruby | 0:2.0.0.648-36.amzn2.0.6 |
| Amazon Linux · 2 | ruby-debuginfo | 0:2.0.0.648-36.amzn2.0.6 |
| Amazon Linux · 2 | ruby-devel | 0:2.0.0.648-36.amzn2.0.6 |
| Amazon Linux · 2 | ruby-doc | 0:2.0.0.648-36.amzn2.0.6 |
| Amazon Linux · 2 | ruby-irb | 0:2.0.0.648-36.amzn2.0.6 |
| Amazon Linux · 2 | ruby-libs | 0:2.0.0.648-36.amzn2.0.6 |
| Amazon Linux · 2 | ruby-tcltk | 0:2.0.0.648-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygem-bigdecimal | 0:1.2.0-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygem-io-console | 0:0.4.2-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygem-json | 0:1.7.7-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygem-minitest | 0:4.3.2-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygem-psych | 0:2.0.0-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygem-rake | 0:0.9.6-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygem-rdoc | 0:4.0.0-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygems | 0:2.0.14.1-36.amzn2.0.6 |
| Amazon Linux · 2 | rubygems-devel | 0:2.0.14.1-36.amzn2.0.6 |
Vulnerabilities 1
-
High 7.5
Regular expression denial of service vulnerability (ReDoS) in date
Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2021-41817.html