First published: Mon Nov 15 2021(Updated: )
A flaw was found in ruby, where the date object was found to be vulnerable to a regular expression denial of service (ReDoS) during the parsing of dates. This flaw allows an attacker to hang a ruby application by providing a specially crafted date string. The highest threat to this vulnerability is system availability.
Credit: cve@mitre.org cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/rh-ruby26-ruby | <0:2.6.9-120.el7 | 0:2.6.9-120.el7 |
redhat/rh-ruby30-ruby | <0:3.0.4-149.el7 | 0:3.0.4-149.el7 |
redhat/rh-ruby27-ruby | <0:2.7.6-131.el7 | 0:2.7.6-131.el7 |
redhat/ruby-date | <3.2.1 | 3.2.1 |
redhat/ruby-date | <3.1.2 | 3.1.2 |
redhat/ruby-date | <3.0.2 | 3.0.2 |
redhat/ruby-date | <2.0.1 | 2.0.1 |
redhat/ruby | <3.0.3 | 3.0.3 |
redhat/ruby | <2.7.5 | 2.7.5 |
redhat/ruby | <2.6.9 | 2.6.9 |
rubygems/date | <2.0.1 | 2.0.1 |
rubygems/date | >=3.0.0<3.0.2 | 3.0.2 |
rubygems/date | >=3.1.0<3.1.2 | 3.1.2 |
rubygems/date | >=3.2.0<3.2.1 | 3.2.1 |
Ruby | <2.0.1 | |
Ruby | >=3.0.0<3.0.2 | |
Ruby | >=3.1.0<3.1.2 | |
Ruby | =3.2.0 | |
Ruby | >=2.6.0<2.6.9 | |
Ruby | >=2.7.0<2.7.5 | |
Ruby | >=3.0.0<3.0.3 | |
redhat software collections | ||
Red Hat Enterprise Linux | =7.0 | |
Red Hat Enterprise Linux | =8.0 | |
Fedora | =34 | |
Fedora | =35 | |
Debian | =9.0 | |
Debian | =10.0 | |
Debian | =11.0 | |
SUSE Linux Enterprise Server | =12.0 | |
SUSE Linux Enterprise Server | =15.0 | |
openSUSE | ||
openSUSE | =15.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2021-41817 is a vulnerability in the date parsing method of the Ruby date gem that allows for regular expression Denial of Service (ReDoS) attacks.
CVE-2021-41817 has a severity rating of 7.5 (high).
CVE-2021-41817 allows an attacker to hang a Ruby application by providing a specially crafted date string.
Versions up to and including 3.2.0 of the Ruby date gem are affected by CVE-2021-41817.
To fix CVE-2021-41817, update the Ruby date gem to version 3.2.1 or later.