CVE-2023-28756
MEDIUM 5.3CVSS 3.1Ruby Time component ReDoS issue
A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. The Time parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to Time objects. The fixed versions are 0.1.1 and 0.2.2.
- Published
- 31 Mar 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- BIT-ruby-2023-28756BIT-ruby-min-2023-28756GHSA-fg7x-g82r-94qc
- Sources
- NVDJSONOSV GHSA-fg7x-g82r-94qcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
<= 2.7.7 | |
| NVD | ruby-lang | timecpe:2.3:a:ruby-lang:time:0.1.0:*:*:*:*:ruby:*:* |
= 0.1.0 | |
| NVD | ruby-lang | timecpe:2.3:a:ruby-lang:time:0.2.1:*:*:*:*:ruby:*:* |
= 0.2.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| OSV | RubyGems | time | >= 0.2.0, < 0.2.2 | 0.2.2 |
| OSV | RubyGems | time | < 0.1.1 | 0.1.1 |
References
- https://github.com/ruby/time/releases/ · Release Notes, WEB
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/ · WEB
- https://security.gentoo.org/glsa/202401-27 · WEB
- https://security.netapp.com/advisory/ntap-20230526-0004/ · Third Party Advisory, WEB
- https://www.ruby-lang.org/en/downloads/releases/ · Release Notes, WEB
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/ · Release Notes, WEB
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/ · Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-28756 · ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/time/CVE-2023-28756.yml · WEB
- https://github.com/ruby/time · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 31 Mar 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2023)