CVE-2021-41817
No exploitation reported by the sources we read.
- Published2022-01-01
- Fixed in3.2.1 · 3.1.2 · 3.0.2 · 2.0.1
- WeaknessCWE-1333
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-01-0105:15CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.2 | ≥ 3.2.0, < 3.2.1 | 3.2.1 | OSV |
| 3.1 | ≥ 3.1.0, < 3.1.2 | 3.1.2 | NVD · OSV |
| 3.0 | ≥ 3.0.0, < 3.0.2 | 3.0.2 | NVD · OSV |
| 2.0 | < 2.0.1 | 2.0.1 | NVD · OSV |
| 3.2 | = 3.2.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.0 | ≥ 3.0.0, < 3.0.3 | 3.0.3 | NVD · OSV |
| 2.7 | ≥ 2.7.0, < 2.7.5 | 2.7.5 | NVD · OSV |
| 2.6 | ≥ 2.6.0, < 2.6.9 | 2.6.9 | NVD · OSV |
6 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- rh-ruby26-rubyRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:2.6.9-120.el7and 4 other packages
- rh-ruby26-rubygem-bigdecimalRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:1.4.1-120.el7
- rh-ruby26-rubygem-bundlerRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:1.17.2-120.el7
- rh-ruby26-rubygem-did_you_meanRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:1.3.0-120.el7
- rh-ruby26-rubygem-io-consoleRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:0.4.7-120.el7
- rh-ruby26-rubygem-irbRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:1.0.0-120.el7
- rh-ruby26-rubygem-jsonRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:2.1.0-120.el7
- rh-ruby26-rubygem-minitestRed Hat:rhel_software_collections:3::el7all versions · fixed in 0:5.11.3-120.el7
425 more package ranges on OSV.dev
Vendor advisories
ruby: Regular expression denial of service vulnerability of Date parsing methods
ruby as a component of Red Hat Enterprise Linux 6 · ruby-devel as a component of Red Hat Enterprise Linux 6 · ruby-docs as a component of Red Hat Enterprise Linux 6 · +23 more
Red Hat Security Advisory: rh-ruby27-ruby security, bug fix, and enhancement update
Red Hat Security Advisory: rh-ruby30-ruby security, bug fix, and enhancement update
Red Hat Security Advisory: ruby:3.0 security, bug fix, and enhancement update
Red Hat Security Advisory: ruby:2.7 security, bug fix, and enhancement update
Red Hat Security Advisory: ruby:2.5 security update
5 more advisories
Fix
- Update Ruby-lang date to 3.2.1 · 3.1.2 · 3.0.2 · 2.0.1
- Vendor fix Red Hat Product Security RHSA-2022:6856 · 68 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- www.ruby-lang.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- NVDweakness (CWE)CWE-1333read 2026-10-23
- FIRST EPSSEPSS score3.5 %2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2021-11-16
Identifiers
- AZL-7110same flawAzure Linux · MIT
- BIT-ruby-2021-41817same flawBitnami · Apache-2.0
- BIT-ruby-min-2021-41817same flawBitnami · Apache-2.0
- EUVD-2021-2381same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-qg54-694p-wgppsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1287same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2022:0543advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:5779advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:6447advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:6450advisory covering several CVEsAlmaLinux · MIT
- DLA-2853-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5066-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5067-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0579advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-2581advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:11657-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11658-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11786-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12712-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13623-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:14621-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15819-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:0543advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0544advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0581advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0582advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0708advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:5779advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6447advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6450advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6855advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6856advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:0543advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:5779advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:6447advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:6450advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:1512-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4176-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5235-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-01-01
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-qg54-694p-wgpp
Frequently asked questions
What is CVE-2021-41817?
Is CVE-2021-41817 actively exploited?
What is the CVSS score for CVE-2021-41817?
Running date? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-qg54-694p-wgpp
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0