CVE-2023-28756
HIGH7.5EPSS 0.65%Ruby Time component ReDoS issue
Published: 3/31/2023Modified: 4/28/2026
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.
Affected packages (7)
- Alpine/rubyfrom 0, < 2.7.8-r0
- Bitnami/rubyfrom 0, < 2.7.8
- Bitnami/ruby-minfrom 0, < 2.7.8
- Debian/jrubyfrom 0
- Debian/ruby2.7from 0, < 2.7.4-1+deb11u2
- Debian/ruby3.1from 0
- RubyGems/time>= 0.2.0, < 0.2.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (27)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-28756
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2023-28756
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-28756
- PATCHhttps://github.com/ruby/time
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/time/CVE-2023-28756.yml
- WEBhttps://github.com/ruby/time/releases
- WEBhttps://github.com/ruby/time/releases/
- WEBhttps://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- WEBhttps://security.gentoo.org/glsa/202401-27
- WEBhttps://security.netapp.com/advisory/ntap-20230526-0004
- WEBhttps://security.netapp.com/advisory/ntap-20230526-0004/
- WEBhttps://www.ruby-lang.org/en/downloads/releases
- WEBhttps://www.ruby-lang.org/en/downloads/releases/
- WEBhttps://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released
- WEBhttps://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- WEBhttps://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756
- WEBhttps://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/