High severity · published Jan 1, 2022
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
7.5
CVSS
3.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.5% · higher than 89% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DA
Date · Ruby-lang
before 2.0.1; 3.0.0 before 3.0.2; 3.1.0 before 3.1.2; 3.2.0 · source: NVD
DL
Debian Linux · Debian
9.0; 10.0; 11.0 · source: NVD
EL
Enterprise Linux · Redhat
7.0; 8.0 · source: NVD
FA
Factory · Opensuse
All versions, or not specified · source: NVD
FE
Fedora · Fedoraproject
34; 35 · source: NVD
LE
Leap · Opensuse
15.2 · source: NVD
LE
Linux Enterprise · Suse
12.0; 15.0 · source: NVD
RU
Ruby · Ruby-lang
2.6.0 before 2.6.9; 2.7.0 before 2.7.5; 3.0.0 before 3.0.3 · source: NVD
SC
Software Collections · Redhat
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-41817
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-41817
Permissions Required
https://hackerone.com/reports/1254844
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/
security.gentoo.org
https://security.gentoo.org/glsa/202401-27
Exploit
https://www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
