CVE-2021-41817
HIGHCVSS 7.5/10EPSS 3.22%
Last modified
CVE-2021-41817 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Date | < 2.0.1 |
| Ruby-Lang | Date | >= 3.0.0, < 3.0.2 |
| Ruby-Lang | Date | >= 3.1.0, < 3.1.2 |
| Ruby-Lang | Date | 3.2.0 |
| Ruby-Lang | Ruby | >= 2.6.0, < 2.6.9 |
| Ruby-Lang | Ruby | >= 2.7.0, < 2.7.5 |
| Ruby-Lang | Ruby | >= 3.0.0, < 3.0.3 |
| Redhat | Software Collections | All versions |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Suse | Linux Enterprise | 12.0 |
| Suse | Linux Enterprise | 15.0 |
| Opensuse | Factory | All versions |
| Opensuse | Leap | 15.2 |
References
- https://hackerone.com/reports/1254844Permissions Required
- https://www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/Exploit, Vendor Advisory
- https://hackerone.com/reports/1254844Permissions Required
- https://www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41817?
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.
How severe is CVE-2021-41817?
CVE-2021-41817 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.22% probability of exploitation in the next 30 days.
How do I fix CVE-2021-41817?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-41817?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
