CVE-2021-41817
ruby2.3 - security update
7.5
HIGH
CVSS 3.1
EPSS 0.50%
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.
How to fix CVE-2021-41817
To remediate CVE-2021-41817, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 2.7.5-r0 or later
- —upgrade to 2.6.9 or later
- —upgrade to 2.6.9 or later
- —upgrade to 2.3.3-1+deb9u11 or later
- —upgrade to 2.7.4-1+deb11u1 or later
- —upgrade to 3.2.1 or later
Is CVE-2021-41817 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 2.7.5-r0
- >= 2.6.0, < 2.6.9, >= 2.7.0, < 2.7.5, >= 3.0.0, < 3.0.3
- >= 2.6.0, < 2.6.9, >= 2.7.0, < 2.7.5, >= 3.0.0, < 3.0.3
- from 0, < 2.3.3-1+deb9u11
- from 0, < 2.7.4-1+deb11u1
- >= 3.2.0, < 3.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |