{"cve":"CVE-2021-41817","nvd":{"published":"2022-01-01T05:15:08.197","modified":"2026-06-17T04:08:57.443","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://hackerone.com/reports/1254844","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/","https://security.gentoo.org/glsa/202401-27","https://www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/"],"products":["debian:debian_linux","fedoraproject:fedora","opensuse:factory","opensuse:leap","redhat:enterprise_linux","redhat:software_collections","ruby-lang:date","ruby-lang:ruby","suse:linux_enterprise"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-41817","score":0.03463,"percentile":0.89051,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qg54-694p-wgpp","url":"https://osv.dev/vulnerability/GHSA-qg54-694p-wgpp","summary":"Regular expression denial of service vulnerability (ReDoS) in date","modified":"2025-01-27T08:58:37.294539Z","packages":[{"ecosystem":"RubyGems","name":"date","purl":"pkg:gem/date","ranges":[">=3.2.0 <3.2.1"],"fixed":["3.2.1"]},{"ecosystem":"RubyGems","name":"date","purl":"pkg:gem/date","ranges":[">=3.1.0 <3.1.2"],"fixed":["3.1.2"]},{"ecosystem":"RubyGems","name":"date","purl":"pkg:gem/date","ranges":[">=3.0.0 <3.0.2"],"fixed":["3.0.2"]},{"ecosystem":"RubyGems","name":"date","purl":"pkg:gem/date","ranges":["<2.0.1"],"fixed":["2.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}