A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 6 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | time (RubyGems) | 0.2.0 to before 0.2.2 | 0.2.2 | Patch available | GHSA-fg7x-g82r-94qc |
| — | time (RubyGems) | before 0.1.1 | 0.1.1 | Patch available | GHSA-fg7x-g82r-94qc |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- time (RubyGems) Vendor— Affected 0.2.0 to before 0.2.2 Fixed in 0.2.2 Patch available GHSA-fg7x-g82r-94qc
- time (RubyGems) Vendor— Affected before 0.1.1 Fixed in 0.1.1 Patch available GHSA-fg7x-g82r-94qc
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | up to 2.7.7 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:time:0.1.0:*:*:*:*:ruby:*:* | 0.1.0 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:time:0.2.1:*:*:*:*:ruby:*:* | 0.2.1 | Vulnerable | ruby |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions up to 2.7.7 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:time:0.1.0:*:*:*:*:ruby:*:* Versions 0.1.0 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:time:0.2.1:*:*:*:*:ruby:*:* Versions 0.2.1 Vulnerable ·ruby
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-fg7x-g82r-94qc time (RubyGems) Fixed in 0.2.2 Advisory →
- Fix · GHSA-fg7x-g82r-94qc time (RubyGems) Fixed in 0.1.1 Advisory →
Red Hat 10 advisories
- RHSA-2026:8838 Released 2026-04-17 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby4.0-4.0.0-33.3.hum1@aarch64, ruby4.0-4.0.0-33.3.hum1@src, ruby4.0-4.0.0-33.3.hum1@x86_64 +10
- RHSA-2026:7307 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.4-3.4.8-31.1.hum1@aarch64, ruby3.4-3.4.8-31.1.hum1@src, ruby3.4-3.4.8-31.1.hum1@x86_64 +10
- RHSA-2026:7305 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.3-3.3.10-23.1.hum1@aarch64, ruby3.3-3.3.10-23.1.hum1@src, ruby3.3-3.3.10-23.1.hum1@x86_64 +10
Show 7 more Red Hat advisories
- RHSA-2024:3838 Released 2024-06-11 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux AppStream (v. 9) ruby-3.0.7-162.el9_4, ruby-default-gems-3.0.7-162.el9_4, ruby-devel-3.0.7-162.el9_4 +18
- Red Hat Enterprise Linux CRB (v. 9) ruby-doc-3.0.7-162.el9_4
- RHSA-2024:3500 Released 2024-05-30 · Red Hat rating Moderateruby:3.0 security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.aarch64::ruby:3.0, ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.i686::ruby:3.0, ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.ppc64le::ruby:3.0 +47
- RHSA-2024:1576 Released 2024-04-01 · Red Hat rating Moderateruby:3.1 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) ruby-3.1.4-143.module+el9.3.0+21558+96b51efd.aarch64::ruby:3.1, ruby-3.1.4-143.module+el9.3.0+21558+96b51efd.i686::ruby:3.1, ruby-3.1.4-143.module+el9.3.0+21558+96b51efd.ppc64le::ruby:3.1 +47
- RHSA-2024:1431 Released 2024-03-19 · Red Hat rating Moderateruby:3.1 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-3.1.4-142.module+el8.9.0+21471+7d1e4a35.aarch64::ruby:3.1, ruby-3.1.4-142.module+el8.9.0+21471+7d1e4a35.i686::ruby:3.1, ruby-3.1.4-142.module+el8.9.0+21471+7d1e4a35.ppc64le::ruby:3.1 +47
- RHSA-2023:7025 Released 2023-11-14 · Red Hat rating Moderateruby:2.5 security update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-111.module+el8.9.0+19193+435404ae.aarch64::ruby:2.5, ruby-2.5.9-111.module+el8.9.0+19193+435404ae.i686::ruby:2.5, ruby-2.5.9-111.module+el8.9.0+19193+435404ae.ppc64le::ruby:2.5 +47
- RHSA-2023:3821 Released 2023-06-27 · Red Hat rating Moderateruby:2.7 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) ruby-2.7.8-139.module+el8.8.0+18745+f1bef313.aarch64::ruby:2.7, ruby-2.7.8-139.module+el8.8.0+18745+f1bef313.i686::ruby:2.7, ruby-2.7.8-139.module+el8.8.0+18745+f1bef313.ppc64le::ruby:2.7 +47
- RHSA-2023:3291 Released 2023-05-24 · Red Hat rating Moderaterh-ruby27-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-ruby27-ruby-2.7.8-132.el7, rh-ruby27-ruby-devel-2.7.8-132.el7, rh-ruby27-ruby-doc-2.7.8-132.el7 +19
- Red Hat Software Collections for RHEL(v. 7) rh-ruby27-ruby-2.7.8-132.el7, rh-ruby27-ruby-devel-2.7.8-132.el7, rh-ruby27-ruby-doc-2.7.8-132.el7 +19
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:3821, RHSA-2023:7025, RHSA-2024:1431, RHSA-2024:3500 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:1576, RHSA-2024:3838 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:3838 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7305, RHSA-2026:7307, RHSA-2026:8838 |
| Red Hat Software Collections for RHEL Workstation(v. 7) | Fixed | RHSA-2023:3291 |
| Red Hat Software Collections for RHEL(v. 7) | Fixed | RHSA-2023:3291 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28756
- 2026-10-03 Alias added: GHSA-fg7x-g82r-94qc
References
Advisory 8
- https://www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/
- FEDORA-2023-6b924d3b75
- FEDORA-2023-a7be7ea1aa
- FEDORA-2023-f58d72c700
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update
- https://security.netapp.com/advisory/ntap-20230526-0004/
- GLSA-202401-27
- https://nvd.nist.gov/vuln/detail/CVE-2023-28756
Other 17
- https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- https://www.ruby-lang.org/en/downloads/releases/
- https://github.com/ruby/time/releases/
- 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://www.ruby-lang.org/en/downloads/releases
- https://security.netapp.com/advisory/ntap-20230526-0004
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- https://lists.fedoraproject.org/archives/list/[email protected]/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z
- 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/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/time/CVE-2023-28756.yml
- https://github.com/ruby/time/releases
- https://github.com/ruby/time
Sources
- CVE-2023-28756 · CVE Program
- CVE-2023-28756 · NVD
- FIRST EPSS
- GHSA-fg7x-g82r-94qc · GitHub Advisory Database · CC BY 4.0
- CVE-2023-28756 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences