Vulnerability in Ruby-Lang Uri
CVE-2023-28755
A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.
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.026, 85.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Uri — versions 0.10.1, 0.11.0, 0.12.0
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 36, 37, 38
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, fkie-cad/nvd-json-data-feeds, 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/uri/releases/ (Release Notes)
- www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/ (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-0003/ (Third Party Advisory)
- GLSA-202401-27 (vendor-advisory)