HIGH · 7.5

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 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 Score

7.5

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH

Affected Products

VendorProductVersions
Ruby-LangDate< 2.0.1
Ruby-LangRuby>= 2.6.0, < 2.6.9
RedhatSoftware Collections-
RedhatEnterprise Linux7.0
FedoraprojectFedora34
DebianDebian Linux9.0
SuseLinux Enterprise12.0
OpensuseFactory-
OpensuseLeap15.2

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-41817?

CVE-2021-41817 is a vulnerability with a CVSS score of 7.5 (HIGH). 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.

How severe is CVE-2021-41817?

CVE-2021-41817 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-41817?

Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Date, Ruby-Lang Ruby, Redhat Software Collections, Redhat Enterprise Linux, Fedoraproject Fedora.