Home/CVE/Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string.
CVE

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.

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.

HIGH · CVSS 7.5 EPSS 0.00495
Act now
  • Public exploit or PoC is available
  • CVSS base score ≥ 7.0
Sigma rules3 YARA rules0

Weakness Classification

Affected Products & Versions

14
ruby-lang date>= 3.0.0 and < 3.0.2
ruby-lang date>= 3.1.0 and < 3.1.2
ruby-lang dateall versions
ruby-lang ruby>= 2.6.0 and < 2.6.9
ruby-lang ruby>= 2.7.0 and < 2.7.5
ruby-lang ruby>= 3.0.0 and < 3.0.3

Affected Packages

1
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
RubyGems date HIGH fixed in 3.2.1

Public Exploits & PoCs

1

Sigma Hunt Rules

3
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
productmediumRuby on Rails Framework Exceptions
productmediumPotential Ruby Reverse Shell
productmediumRuby Inline Command Execution

Scoring & Timeline

7.5
HIGH · CVSS v3.1 · cve@mitre.org
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD01 Jan 2022 · 05:15 AM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Advisories

21
suse-csafopenSUSE-SU-2025:15819-1
suse-csafopenSUSE-SU-2025:14621-1
suse-csafopenSUSE-SU-2024:11657-1
suse-csafopenSUSE-SU-2024:11658-1
suse-csafopenSUSE-SU-2024:11786-1
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin