CVE-2021-41817: Debian Linux

High severity, CVSS 7.5. EPSS: 3.5% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Ruby-Lang Date, before 2.0.1: fixed in 2.0.1
  • Ruby-Lang Date, from 3.0.0, before 3.0.2: fixed in 3.0.2
  • Ruby-Lang Date, from 3.1.0, before 3.1.2: fixed in 3.1.2
  • Ruby-Lang Ruby, from 2.6.0, before 2.6.9: fixed in 2.6.9
  • Ruby-Lang Ruby, from 2.7.0, before 2.7.5: fixed in 2.7.5
  • Ruby-Lang Ruby, from 3.0.0, before 3.0.3: fixed in 3.0.3

Affected products

Affected packages

Published 2022-01-01. Last modified 2026-06-17.