VDB
Sign up
HIGH7.5

GHSA-hv5j-3h9f-99c2

Ruby URI component ReDoS issue

Quick fix

GHSA-hv5j-3h9f-99c2 — uri: upgrade to the fixed version with the command below.

bundle update uri

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/uri
Introduced in: 0.12.0Fixed in: 0.12.1
Fixbundle update uri
RubyGems/uri
Introduced in: 0.11.0Fixed in: 0.11.1
Fixbundle update uri
RubyGems/uri
Introduced in: 0.10.1Fixed in: 0.10.2
Fixbundle update uri
RubyGems/uri
Introduced in: 0Fixed in: 0.10.0.1
Fixbundle update uri

References