high7.5
CVE-2023-28756
Ruby Time component ReDoS issue
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | time | >= 0.2.0, < 0.2.2 | 0.2.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ruby-Lang | Ruby | through 2.7.7 |
| Ruby-Lang | Time | Versions 0.1.0, 0.2.1 |
| Debian | Debian Linux | Version 10.0 |
| Fedoraproject | Fedora | Versions 36, 37, 38 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ruby/time/releases/
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/
- https://security.gentoo.org/glsa/202401-27
- https://security.netapp.com/advisory/ntap-20230526-0004/
- https://www.ruby-lang.org/en/downloads/releases/
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://github.com/advisories/GHSA-fg7x-g82r-94qc
- https://nvd.nist.gov/vuln/detail/CVE-2023-28756
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/time/CVE-2023-28756.yml
- https://github.com/ruby/time/releases
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- https://security.netapp.com/advisory/ntap-20230526-0004
- https://www.ruby-lang.org/en/downloads/releases
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756