CVE-2023-28755
JSON

5.3medium

Ruby URI component ReDoS issue

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
2.64% (higher than 85% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-hv5j-3h9f-99c2

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
uri (RubyGems)from 0.12.0 before 0.12.1, from 0.11.0 before 0.11.1, from 0.10.1 before 0.10.2, before 0.10.0.1GitHub Advisory Database
ruby-lang uriup to 0.10.0, 0.10.1, 0.11.0, 0.12.0NVD
debian debian_linux10.0NVD
fedoraproject fedora36, 37, 38NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/release-notes
https://www.ruby-lang.org/en/downloads/releases/release-notes
https://github.com/ruby/uri/releases/release-notes
https://www.ruby-lang.org/en/news/2023/03/28/redos-in-uri-cve-2023-28755/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFZANOQA4RYX7XCB42OO3P24DQKWHEKA/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMIOPLBAAM3FEQNAXA2L7BDKOGSVUT5Z/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G76GZG3RAGYF4P75YY7J7TGYAU7Z5E2T/vendor-advisory
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.htmlmailing-list, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20230526-0003/third-party-advisory
https://security.gentoo.org/glsa/202401-27vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QA6XUKUY7B5OLNQBLHOT43UW7C5NIOQQ/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2023-28755 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-hv5j-3h9f-99c2 changed 2026-09-10CC-BY-4.0
NVDCVE-2023-28755 changed 2026-06-17Public domain