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

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.