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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41807Lack of rate limiting in M-Files Server and M-Files Web prod…9.8
- CVE-2021-41808In M-Files Server product with versions before 21.11.10775.0…2.3
- CVE-2021-41809SSRF vulnerability in M-Files Server products with versions …4.3
- CVE-2021-4181Crash in the Sysdig Event dissector in Wireshark 3.6.0 and 3…7.5
- CVE-2021-41810Script injection in M-Files Admin versions before 22.2.11051…4.8
- CVE-2021-41816CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 ha…9.8
- CVE-2021-41819CGI::Cookie.parse in Ruby through 2.6.8 mishandles security …7.5
- CVE-2021-4182Crash in the RFC 7468 dissector in Wireshark 3.6.0 and 3.4.0…7.5
- CVE-2021-41821Wazuh Manager in Wazuh through 4.1.5 is affected by a remote…6.5
- CVE-2021-41823The Web Application Firewall (WAF) in Kemp LoadMaster 7.2.54…6.1
- CVE-2021-41824Craft CMS before 3.7.14 allows CSV injection.8.8
- CVE-2021-41825Verint Workforce Optimization (WFO) 15.2.5.1033 allows HTML …5.3
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
