Ubuntu CVE Tracker
UBUNTU-CVE-2023-28756
Details
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 versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~ubuntu16.04.16+esm7 (fixed in 2.3.1-2~ubuntu16.04.16+esm7) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:18.04:LTS | ruby2.5 | All versions before 2.5.1-1ubuntu1.16 (fixed in 2.5.1-1ubuntu1.16) |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:20.04:LTS | ruby2.7 | All versions before 2.7.0-5ubuntu1.11 (fixed in 2.7.0-5ubuntu1.11) |
| Ubuntu:20.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby3.0 | All versions before 3.0.2-7ubuntu2.4 (fixed in 3.0.2-7ubuntu2.4) |
| Ubuntu:24.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:25.10 | jruby | All versions, no fix listed |
| Ubuntu:26.10 | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | jruby | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2023-28756
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- https://github.com/ruby/time/releases/
- https://www.ruby-lang.org/en/downloads/releases/
- https://github.com/ruby/ruby/commit/957bb7cb81995f26c671afce0ee50a5c660e540e
- https://github.com/ruby/time/commit/3dce6f73d14f5fad6d9b302393fd02df48797b11
- https://github.com/ruby/time/commit/b57db51f577875d3e896dcd2ef1dcaf97f23e943
- https://ubuntu.com/security/notices/USN-6055-1
- https://ubuntu.com/security/notices/USN-6055-2
- https://ubuntu.com/security/notices/USN-6087-1
- https://ubuntu.com/security/notices/USN-6181-1
- https://www.cve.org/CVERecord?id=CVE-2023-28756