CVE-2021-41817
High
Description
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.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Ruby-lang Date
PublishedJan 1, 2022
First seenJan 1, 2022
How to fix
Update
- ruby-lang date2.0.1, 3.0.2, 3.1.2 or later
- ruby-lang ruby2.6.9, 2.7.5, 3.0.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang date | v < 2.0.1, 3.0.0 ≤ v < 3.0.2, 3.1.0 ≤ v < 3.1.2, 3.2.0 | 2.0.1, 3.0.2, 3.1.2 |
| ruby-lang ruby | 2.6.0 ≤ v < 2.6.9, 2.7.0 ≤ v < 2.7.5, 3.0.0 ≤ v < 3.0.3 | 2.6.9, 2.7.5, 3.0.3 |
| redhat software_collections | No range specified | — |
| redhat enterprise_linux | 7.0, 8.0 | — |
| fedoraproject fedora | 34, 35 | — |
| debian debian_linux | 9.0, 10.0, 11.0 | — |
| suse linux_enterprise | 12.0, 15.0 | — |
| opensuse factory | No range specified | — |
| opensuse leap | 15.2 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.