Vulnerability
CVE-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. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.
45 advisories report this vulnerability, across 13 ecosystems.
Advisories in AlmaLinux
-
ALSA-2022:0543
Important: ruby:2.6 security update
-
ALSA-2022:5779
Moderate: ruby:2.5 security update
-
ALSA-2022:6447
Moderate: ruby:2.7 security, bug fix, and enhancement update
-
ALSA-2022:6450
Moderate: ruby:3.0 security, bug fix, and enhancement update
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/