CVEvulnerability

CVE-2021-41817

7.5 HIGH Published 2022-01-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-01-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-1333

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.

Affected configurations

• ruby-lang date (< 2.0.1) • ruby-lang date (>= 3.0.0 < 3.0.2) • ruby-lang date (>= 3.1.0 < 3.1.2) • ruby-lang date 3.2.0 • ruby-lang ruby (>= 2.6.0 < 2.6.9) • ruby-lang ruby (>= 2.7.0 < 2.7.5) • ruby-lang ruby (>= 3.0.0 < 3.0.3) • redhat software collections • redhat enterprise linux 7.0 • redhat enterprise linux 8.0 • fedoraproject fedora 34 • fedoraproject fedora 35 • debian debian linux 9.0 • debian debian linux 10.0 • debian debian linux 11.0 • suse linux enterprise 12.0 • suse linux enterprise 15.0 • opensuse factory • opensuse leap 15.2

Related

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References