ADVISORIES

GitHub Advisory Database

GHSA-hv5j-3h9f-99c2

Ruby URI component ReDoS issue

Details

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 packages

EcosystemPackageAffected versions
RubyGemsuri
From 0.12.0 before 0.12.1 (fixed in 0.12.1)
RubyGemsuri
From 0.11.0 before 0.11.1 (fixed in 0.11.1)
RubyGemsuri
From 0.10.1 before 0.10.2 (fixed in 0.10.2)
RubyGemsuri
All versions before 0.10.0.1 (fixed in 0.10.0.1)

References