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
-
ALAS2-2023-2345
Amazon Linux 2 2017.12 - ALAS2-2023-2345: medium priority package update for ruby
-
ALPINE-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.
- ALPINE-EDGE-CVE-2021-41817
-
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
-
AZL-7110
CVE-2021-41817 affecting package ruby for versions less than 3.1.2-2
-
DEBIAN-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.
-
DLA-2853-1
ruby2.3 - security update
-
DSA-5066-1
ruby2.5 - security update
-
DSA-5067-1
ruby2.7 - security update
-
ELSA-2022-0543
ELSA-2022-0543: ruby:2.6 security update (IMPORTANT)
-
ELSA-2022-5779
ELSA-2022-5779: ruby:2.5 security update (MODERATE)
-
ELSA-2022-6447
ELSA-2022-6447: ruby:2.7 security, bug fix, and enhancement update (MODERATE)
-
ELSA-2022-6450
ELSA-2022-6450: ruby:3.0 security, bug fix, and enhancement update (MODERATE)
-
GHSA-qg54-694p-wgpp
Regular expression denial of service vulnerability (ReDoS) in date
-
OESA-2024-2581
ruby security update
-
RHSA-2022:0543
Red Hat Security Advisory: ruby:2.6 security update
-
RHSA-2022:0544
Red Hat Security Advisory: ruby:2.6 security update
-
RHSA-2022:0581
Red Hat Security Advisory: ruby:2.6 security update
-
RHSA-2022:0582
Red Hat Security Advisory: ruby:2.6 security update
-
RHSA-2022:0708
Red Hat Security Advisory: rh-ruby26-ruby security, bug fix, and enhancement update
-
RHSA-2022:5779
Red Hat Security Advisory: ruby:2.5 security update
-
RHSA-2022:6447
Red Hat Security Advisory: ruby:2.7 security, bug fix, and enhancement update
-
RHSA-2022:6450
Red Hat Security Advisory: ruby:3.0 security, bug fix, and enhancement update
-
RHSA-2022:6855
Red Hat Security Advisory: rh-ruby30-ruby security, bug fix, and enhancement update
-
RHSA-2022:6856
Red Hat Security Advisory: rh-ruby27-ruby security, bug fix, and enhancement update
-
RHVEX-CVE-2021-41817
ruby: Regular expression denial of service vulnerability of Date parsing methods
-
RLSA-2022:0543
Important: ruby:2.6 security update
-
RLSA-2022:5779
Moderate: ruby:2.5 security update
-
RLSA-2022:6447
Moderate: ruby:2.7 security, bug fix, and enhancement update
-
RLSA-2022:6450
Moderate: ruby:3.0 security, bug fix, and enhancement update
-
SUSE-SU-2022:1512-1
Security update for ruby2.5
-
SUSE-SU-2023:4176-1
Security update for ruby2.5
-
SUSEVEX-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.
-
UBUNTU-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.
-
USN-5235-1
ruby2.3, ruby2.5, ruby2.7 vulnerabilities
-
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/