Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1od3cyLTVnODUtNDI5bc4AA0Ip

URI gem has ReDoS vulnerability

A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser.rb.

NOTE: this issue exists becuse of an incomplete fix for CVE-2023-28755. Version 0.10.3 is also a fixed version.

The Ruby advisory recommends updating the uri gem to 0.12.2. In order to ensure compatibility with the bundled version in older Ruby series, you may update as follows instead:

You can use gem update uri to update it. If you are using bundler, please add gem uri, >= 0.12.2 (or other version mentioned above) to your Gemfile.

Permalink: https://github.com/advisories/GHSA-hww2-5g85-429m
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1od3cyLTVnODUtNDI5bc4AA0Ip
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 10 months ago
Updated: about 2 months ago


CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Identifiers: GHSA-hww2-5g85-429m, CVE-2023-36617
References: Repository: https://github.com/ruby/uri
Blast Radius: 16.3

Affected Packages

rubygems:uri
Dependent packages: 66
Dependent repositories: 1,166
Downloads: 16,837,925 total
Affected Version Ranges: < 0.10.0.3, >= 0.11.0, < 0.11.2, >= 0.12.0, < 0.12.2, >= 0.10.1, < 0.10.3
Fixed in: 0.10.0.3, 0.11.2, 0.12.2, 0.10.3
All affected versions: 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.12.2, 0.13.0
All unaffected versions: