Vulnerability in Ruby-Lang Ruby
CVE-2023-28756
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.025, 84.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby
- Ruby-Lang Time — versions 0.1.0, 0.2.1
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 36, 37, 38
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, lifeparticle/Ruby-Cheatsheet). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/ (Release Notes)
- www.ruby-lang.org/en/downloads/releases/ (Release Notes)
- github.com/ruby/time/releases/ (Release Notes)
- www.ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756/ (Vendor Advisory)
- FEDORA-2023-6b924d3b75 (vendor-advisory)
- FEDORA-2023-a7be7ea1aa (vendor-advisory)
- FEDORA-2023-f58d72c700 (vendor-advisory)
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230526-0004/ (Third Party Advisory)
- GLSA-202401-27 (vendor-advisory)