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)
EPSS: 0.032 (86.8th percentile) — read the EPSS interpretation.
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.
Affected products
- Ruby-lang Date — versions 3.2.0
- Ruby-lang Ruby
- Debian Debian_linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
- Opensuse Factory
- Opensuse Leap — versions 15.2
- Redhat Enterprise_linux — versions 7.0, 8.0
- Redhat Software_collections
- Suse Linux_enterprise — versions 12.0, 15.0
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Permissions Required)
- cve@mitre.org (Exploit, Vendor Advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (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.