CVE-2021-41817
Advisory lineage Upstream: 0 Downstream: 27
Modified
Published: 01 Jan 2022, 00:00
Last modified:04 Aug 2024, 03:22
Vulnerability Summary
Overall Risk (default)
medium
40/100 CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.5% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
01 Jan 2022, 00:00
Published
Vulnerability first disclosed
04 Aug 2024, 03:22
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.50%• Percentile: 66%
Techniques & Countermeasures
- CWE-1333•Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Affected Systems
- debian•debian_linux
9.0 | 10.0 | 11.0
- fedoraproject•fedora
34 | 35
- opensuse•factory
na
- opensuse•leap
15.2
- redhat•enterprise_linux
7.0 | 8.0
- redhat•software_collections
na
- ruby-lang•date
< 2.0.1 | ≥ 3.0.0, < 3.0.2 | ≥ 3.1.0, < 3.1.2 | 3.2.0
- ruby-lang•ruby
≥ 2.6.0, < 2.6.9 | ≥ 2.7.0, < 2.7.5 | ≥ 3.0.0, < 3.0.3
- suse•linux_enterprise
12.0 | 15.0
References (5)
- https://hackerone.com/reports/1254844
- https://www.ruby-lang.org/en/news/2021/11/15/date-parsing-method-regexp-dos-cve-2021-41817/
- 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