CVE-2021-41817

HIGHCVSS 7.5/10EPSS 3.22%

Last modified

CVE-2021-41817 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.22% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
3.22%

86.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Ruby-LangDate< 2.0.1
Ruby-LangDate>= 3.0.0, < 3.0.2
Ruby-LangDate>= 3.1.0, < 3.1.2
Ruby-LangDate3.2.0
Ruby-LangRuby>= 2.6.0, < 2.6.9
Ruby-LangRuby>= 2.7.0, < 2.7.5
Ruby-LangRuby>= 3.0.0, < 3.0.3
RedhatSoftware CollectionsAll versions
RedhatEnterprise Linux7.0
RedhatEnterprise Linux8.0
FedoraprojectFedora34
FedoraprojectFedora35
DebianDebian Linux9.0
DebianDebian Linux10.0
DebianDebian Linux11.0
SuseLinux Enterprise12.0
SuseLinux Enterprise15.0
OpensuseFactoryAll versions
OpensuseLeap15.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-41817?
CVE-2021-41817 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.22% probability of exploitation in the next 30 days.
How do I fix CVE-2021-41817?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-41817?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST