PT-2023-8205 · Ruby+8 · Uri+8

Oooooo_Q

·

Published

2023-06-29

·

Updated

2025-11-04

·

CVE-2023-36617

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions URI versions prior to 0.12.2 URI version 0.10.3 is a fixed version, implying versions prior to 0.10.3 and between 0.10.3 and 0.12.2 are vulnerable, but for clarity and conciseness, we focus on the range prior to 0.12.2 as the primary affected range.
Description A ReDoS issue was discovered in the URI component for Ruby, related to the mishandling of invalid URLs containing specific characters by the URI parser. This leads to an increase in execution time for parsing strings to URI objects, particularly affecting rfc2396 parser.rb and rfc3986 parser.rb. The issue exists due to an incomplete fix for a previous problem. Exploitation of this vulnerability can allow a remote attacker to cause a denial of service.
Recommendations For versions prior to 0.12.2, update to version 0.12.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the rfc2396 parser.rb and rfc3986 parser.rb components until a patch is applied. Avoid using the vulnerable URI parser for handling untrusted or potentially malicious URLs until the issue is resolved.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:1431
ALSA-2024:1576
ALSA-2024:4499
ALSA-2024_1431
ALSA-2024_1576
ALSA-2025_16880
AZL-27310
BDU:2024-00198
CESA-2024_1431
CESA-2024_4499
CVE-2023-36617
DLA-3858-1
GHSA-HWW2-5G85-429M
INFSA-2024_4499
OESA-2023-1427
RHSA-2024:1431
RHSA-2024:1576
RHSA-2024:4499
RHSA-2024_1431
RHSA-2024_1576
RHSA-2024_4499
RLSA-2024:1431
RLSA-2024:1576
RLSA-2024:4499
USN-6219-1
USN-7747-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Uri
Ubuntu