GitHub Advisoryadvisory · RubyGems
GHSA-fg7x-g82r-94qc Ruby Time component ReDoS issue
HIGH
Official page ↗
- Aliases
- CVE-2023-28756
- Ecosystem
- RubyGems
- Packages
- time
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2023-03-31
Affected packages
• RubyGems time: >= 0.2.0, < 0.2.2 → fixed in 0.2.2
• RubyGems time: < 0.1.1 → fixed in 0.1.1
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.
Related
Alias · CVE (1)
- CVE-2023-28756 A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28756 advisory
- 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://security.gentoo.org/glsa/202401-27 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T web
- https://lists.fedoraproject.org/archives/list/[email protected]/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://lists.debian.org/debian-lts-announce/2024/09/msg00000.html web
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html 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