7.5

CVE-2021-41817

Exploit

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.

Data is provided by the National Vulnerability Database (NVD)
Ruby-langDate SwPlatformruby Version < 2.0.1
Ruby-langDate SwPlatformruby Version >= 3.0.0 < 3.0.2
Ruby-langDate SwPlatformruby Version >= 3.1.0 < 3.1.2
Ruby-langDate Version3.2.0 SwPlatformruby
Ruby-langRuby Version >= 2.6.0 < 2.6.9
Ruby-langRuby Version >= 2.7.0 < 2.7.5
Ruby-langRuby Version >= 3.0.0 < 3.0.3
RedhatEnterprise Linux Version7.0
RedhatEnterprise Linux Version8.0
FedoraprojectFedora Version34
FedoraprojectFedora Version35
DebianDebian Linux Version9.0
DebianDebian Linux Version10.0
DebianDebian Linux Version11.0
SuseLinux Enterprise Version12.0
SuseLinux Enterprise Version15.0
OpensuseFactory Version-
OpensuseLeap Version15.2
Zu dieser CVE wurde keine CISA KEV oder CERT.AT-Warnung gefunden.
EPSS Metriken
Type Source Score Percentile
EPSS FIRST.org 0.54% 0.666
CVSS Metriken
Source Base Score Exploit Score Impact Score Vector string
nvd@nist.gov 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd@nist.gov 5 10 2.9
AV:N/AC:L/Au:N/C:N/I:N/A:P
CWE-1333 Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.