Name | CVE-2023-28756 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3408-1, DLA-3447-1 |
Debian Bugs | 1036283, 1038408 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jruby (PTS) | buster | 9.1.17.0-3 | vulnerable |
| buster (security) | 9.1.17.0-3+deb10u1 | fixed |
| sid, bookworm | 9.3.9.0+ds-8 | vulnerable |
ruby2.5 (PTS) | buster | 2.5.5-3+deb10u4 | vulnerable |
| buster (security) | 2.5.5-3+deb10u6 | fixed |
ruby2.7 (PTS) | bullseye (security), bullseye | 2.7.4-1+deb11u1 | vulnerable |
ruby3.1 (PTS) | trixie, bookworm | 3.1.2-7 | vulnerable |
| sid | 3.1.2-8 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - jruby <no-dsa> (Minor issue)
Fixed by: https://github.com/ruby/ruby/commit/957bb7cb81995f26c671afce0ee50a5c660e540e (v3_1_4)
Fixed by: https://github.com/ruby/time/commit/b57db51f577875d3e896dcd2ef1dcaf97f23e943 (v0.2.2)
Fixed by: https://github.com/ruby/time/commit/3dce6f73d14f5fad6d9b302393fd02df48797b11 (v0.2.2)
https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/