Skip to main content
← All vulnerabilities
CVE-2021-41817GHSA-QG54-694P-WGPPBIT-RUBY-2021-41817BIT-RUBY-MIN-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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.2.1, 3.1.2, 3.0.2, 2.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • dateRubyGems

    From 3.2.0 · fixed in 3.2.1

  • dateRubyGems

    From 3.1.0 · fixed in 3.1.2

  • dateRubyGems

    From 3.0.0 · fixed in 3.0.2

  • dateRubyGems

    fixed in 2.0.1

References 5

hackerone.com

ruby-lang.org

lists.fedoraproject.org

security.gentoo.org