7.5
CWE
1333 400
Advisory Published
Advisory Published
CVE Published
Updated

CVE-2021-41817

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2021-41817?

    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.

  • What is the severity of CVE-2021-41817?

    CVE-2021-41817 has a severity rating of 7.5 (high).

  • How does CVE-2021-41817 affect Ruby applications?

    CVE-2021-41817 allows an attacker to hang a Ruby application by providing a specially crafted date string.

  • Which versions of the Ruby date gem are affected by CVE-2021-41817?

    Versions up to and including 3.2.0 of the Ruby date gem are affected by CVE-2021-41817.

  • How can I fix CVE-2021-41817?

    To fix CVE-2021-41817, update the Ruby date gem to version 3.2.1 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203