RubySec

Providing security resources for the Ruby community

CVE-2023-28755 (uri): Ruby URI component ReDoS issue

Ruby URI component ReDoS issue

Published: March 31, 2023

SECURITY IDENTIFIERS

GEM

uri

SEVERITY

CVSS v3.x: 7.5 (High)

PATCHED VERSIONS

~> 0.10.0.1 ~> 0.10.2 ~> 0.11.1 >= 0.12.1

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.