date
The official date library for Ruby.
Activity
- Latest release
- 9mo ago
- Total releases
- 26
- Cadence
- ~32 days
- Last 12 months
- 2
Reach
- Stars
- —
Details
- License
- unknown OR BSD-2-Clause
- First release
- Feb 02, 2017
| Version | Released | |
|---|---|---|
3.5.1
patch
| ||
3.5.0
minor
| ||
3.4.1
patch
| ||
3.4.0
minor
| ||
3.3.4
patch
| ||
3.3.3
patch
| ||
3.3.2
patch
| ||
3.3.1
patch
| ||
3.3.0
minor
| ||
2.0.3
patch
| ||
3.1.3
patch
| ||
3.0.3
patch
| ||
3.2.2
patch
| ||
2.0.2
patch
| ||
3.2.1
patch
| ||
2.0.1
patch
| ||
3.0.2
patch
| ||
3.1.2
patch
| ||
3.2.0
minor
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev | ||
3.1.0
minor
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev | ||
3.1.1
patch
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev | ||
3.0.1
patch
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev | ||
3.0.0
major
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev | ||
2.0.0
major
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev | ||
1.0.0
major
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev | ||
0.0.1
initial
1 CVE
CVE-2021-41817
GHSA-qg54-694p-wgpp
BIT-ruby-2021-41817
BIT-ruby-min-2021-41817
Nov 16, 2021
Regular expression denial of service vulnerability (ReDoS) in date
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Date’s parsing methods including Date.parse are using Regexps internally, some of which are vulnerable against regular expression denial of service. Applications and libraries that apply such methods to untrusted input may be affected. The fix limits the input length up to 128 bytes by default instead of changing the regexps. This is because Date gem uses many Regexps and it is possible that there are still undiscovered vulnerable Regexps. For compatibility, it is allowed to remove the limitation by explicitly passing limit keywords as nil like Date.parse(str, limit: nil), but note that it may take a long time to parse. Please update the date gem to version 3.2.1, 3.1.2, 3.0.2, and 2.0.1, or later. You can use gem update date to update it. If you are using bundler, please add gem "date", ">= 3.2.1" to your Gemfile. If you import Users unable to upgrade may consider using
Affected versions
3.2.0
3.1.0
3.1.1
3.0.0
3.0.1
0.0.1
1.0.0
2.0.0
Fixed in
2.0.1
3.0.2
3.1.2
3.2.1
References
Updated Jan 27, 2025 · Source: OSV.dev |