Security mailing lists by PureSourceCode

CVE-2021-41817

HIGH 7.5CVSS 3.1

Regular expression denial of service vulnerability (ReDoS) in date

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.

Published
1 Jan 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-1333
Also known as
BIT-ruby-2021-41817BIT-ruby-min-2021-41817GHSA-qg54-694p-wgpp
Sources
NVDJSONOSV GHSA-qg54-694p-wgppJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang date
cpe:2.3:a:ruby-lang:date:*:*:*:*:*:ruby:*:*
< 2.0.1 2.0.1
NVD ruby-lang date
cpe:2.3:a:ruby-lang:date:*:*:*:*:*:ruby:*:*
>= 3.0.0, < 3.0.2 3.0.2
NVD ruby-lang date
cpe:2.3:a:ruby-lang:date:*:*:*:*:*:ruby:*:*
>= 3.1.0, < 3.1.2 3.1.2
NVD ruby-lang date
cpe:2.3:a:ruby-lang:date:3.2.0:*:*:*:*:ruby:*:*
= 3.2.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.6.0, < 2.6.9 2.6.9
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.7.0, < 2.7.5 2.7.5
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.3 3.0.3
NVD redhat software_collections
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
(no version)
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
NVD suse linux_enterprise
cpe:2.3:o:suse:linux_enterprise:12.0:*:*:*:*:*:*:*
= 12.0
NVD suse linux_enterprise
cpe:2.3:o:suse:linux_enterprise:15.0:*:*:*:*:*:*:*
= 15.0
NVD opensuse factory
cpe:2.3:a:opensuse:factory:-:*:*:*:*:*:*:*
(no version)
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*
= 15.2
OSV RubyGems date >= 3.2.0, < 3.2.1 3.2.1
OSV RubyGems date >= 3.1.0, < 3.1.2 3.1.2
OSV RubyGems date >= 3.0.0, < 3.0.2 3.0.2
OSV RubyGems date < 2.0.1 2.0.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Jan 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.