# CVE-2023-28756: Ruby Time component ReDoS issue

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.54%, higher than 85% of CVEs (2026-12-01)
- Published: 2023-03-31T00:00:00.000Z
- Modified: 2026-09-10T03:50:08.256Z
- Also known as: GHSA-fg7x-g82r-94qc, BIT-RUBY-2023-28756, BIT-RUBY-MIN-2023-28756
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- time (RubyGems): from 0.2.0 before 0.2.2; before 0.1.1
- ruby-lang ruby: up to 2.7.7
- ruby-lang time: 0.1.0; 0.2.1
- debian debian_linux: 10.0
- fedoraproject fedora: 36; 37; 38
- ruby (Bitnami): before 2.7.8
- ruby-min (Bitnami): before 2.7.8

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/> (article, release-notes)
- <https://www.ruby-lang.org/en/downloads/releases/> (article, release-notes)
- <https://github.com/ruby/time/releases/> (article, release-notes)
- <https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/> (advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html> (advisory, mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230526-0004/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202401-27> (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, web)
- <https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756> (web)
- <https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released> (web)
- <https://www.ruby-lang.org/en/downloads/releases> (web)
- <https://security.netapp.com/advisory/ntap-20230526-0004> (web)
- <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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z> (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/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/time/CVE-2023-28756.yml> (web)
- <https://github.com/ruby/time/releases> (web)
- <https://github.com/ruby/time> (package)

## Sources

- CVE List: [CVE-2023-28756](https://www.cve.org/CVERecord?id=CVE-2023-28756), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-fg7x-g82r-94qc](https://github.com/advisories/GHSA-fg7x-g82r-94qc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-28756](https://nvd.nist.gov/vuln/detail/CVE-2023-28756), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-RUBY-2023-28756](https://osv.dev/vulnerability/BIT-RUBY-2023-28756), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-RUBY-MIN-2023-28756](https://osv.dev/vulnerability/BIT-RUBY-MIN-2023-28756), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-28756 · Whole record: https://cve.day/CVE-2023-28756.json · Rebuilt by cve.day 2026-11-25T22:58:22.906Z
