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 openSUSE
-
SUSE-SU-2022:1512-1
Security update for ruby2.5
-
SUSE-SU-2023:4176-1
Security update for ruby2.5
-
openSUSE-SU-2024:11657-1
libruby2_7-2_7-2.7.5-1.1 on GA media
-
openSUSE-SU-2024:11658-1
libruby3_0-3_0-3.0.3-1.1 on GA media
-
openSUSE-SU-2024:11786-1
libruby3_1-3_1-3.1.0-1.1 on GA media
-
openSUSE-SU-2024:12712-1
libruby3_2-3_2-3.2.1-1.1 on GA media
-
openSUSE-SU-2024:13623-1
libruby3_3-3_3-3.3.0-1.2 on GA media
-
openSUSE-SU-2025:14621-1
libruby3_4-3_4-3.4.1-1.1 on GA media
-
openSUSE-SU-2025:15819-1
libruby4_0-4_0-4.0.0~preview2-1.1 on GA media
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/