Vulnerability in Ruby-Lang Date
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.032 (87.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000
Affected products
- Ruby-Lang Date — versions 3.2.0
- Ruby-Lang Ruby
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
- openSUSE Factory
- openSUSE Leap — versions 15.2
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Red Hat Software Collections
- SUSE Linux Enterprise — versions 12.0, 15.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- hackerone.com/reports/1254844 (Permissions Required)
- www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41… (Exploit, Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.gentoo.org/glsa/202401-27 (vendor-advisory)
Frequently asked questions
- What is CVE-2021-41817?
- CVE-2021-41817 is a high-severity vulnerability in Ruby-Lang Date, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2022-01-01.
- How severe is CVE-2021-41817?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-41817 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.