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 |
Ruby-lang Date | <2.0.1 | |
Ruby-lang Date | >=3.0.0<3.0.2 | |
Ruby-lang Date | >=3.1.0<3.1.2 | |
Ruby-lang Date | =3.2.0 | |
Ruby-lang Ruby | >=2.6.0<2.6.9 | |
Ruby-lang Ruby | >=2.7.0<2.7.5 | |
Ruby-lang Ruby | >=3.0.0<3.0.3 | |
Redhat Software Collections | ||
Redhat Enterprise Linux | =7.0 | |
Redhat Enterprise Linux | =8.0 | |
Fedoraproject Fedora | =34 | |
Fedoraproject Fedora | =35 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
Debian Debian Linux | =11.0 | |
SUSE Linux Enterprise | =12.0 | |
SUSE Linux Enterprise | =15.0 | |
openSUSE Factory | ||
openSUSE Leap | =15.2 | |
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 |
<2.0.1 | ||
>=3.0.0<3.0.2 | ||
>=3.1.0<3.1.2 | ||
=3.2.0 | ||
>=2.6.0<2.6.9 | ||
>=2.7.0<2.7.5 | ||
>=3.0.0<3.0.3 | ||
=7.0 | ||
=8.0 | ||
=34 | ||
=35 | ||
=9.0 | ||
=10.0 | ||
=11.0 | ||
=12.0 | ||
=15.0 | ||
=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.