CVE-2021-41817

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRuby-lang Date
PublishedJan 1, 2022
First seenJan 1, 2022

How to fix

Affected products

ProductAffected versionsFixed in
ruby-lang datev < 2.0.1, 3.0.0 ≤ v < 3.0.2, 3.1.0 ≤ v < 3.1.2, 3.2.02.0.1, 3.0.2, 3.1.2
ruby-lang ruby2.6.0 ≤ v < 2.6.9, 2.7.0 ≤ v < 2.7.5, 3.0.0 ≤ v < 3.0.32.6.9, 2.7.5, 3.0.3
redhat software_collectionsNo range specified—
redhat enterprise_linux7.0, 8.0—
fedoraproject fedora34, 35—
debian debian_linux9.0, 10.0, 11.0—
suse linux_enterprise12.0, 15.0—
opensuse factoryNo range specified—
opensuse leap15.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-41817 · Ruby-lang Date · Dark Radar