Original 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.
Affected software
- Ruby ≥ 3.0.0 < 3.0.3≥ 2.7.0 < 2.7.5≥ 2.6.0 < 2.6.9 Fixed in: 3.0.3, 2.7.5, 2.6.9 exact match
Details
- Published
- 2022-01-01
- Last modified
- 2024-08-04
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- EPSS (30-day exploit probability)
- 3.46% (percentile 89)
References
- cve.org/CVE-2021-41817
- nvd.nist.gov/vuln/detail/CVE-2021-41817
- hackerone.com/reports/1254844
- www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U...
- security.gentoo.org/glsa/202401-27
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.