Loading HuntDB...

CVE-2023-36617

UNKNOWN
Published 2023-06-29T00:00:00
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2023-36617. We'll provide specific mitigation strategies based on your environment and risk profile.

No CVSS data available

Description

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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed MODERATE

URI gem has ReDoS vulnerability

GHSA-hww2-5g85-429m

Advisory Details

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](https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/) 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: - For Ruby 3.0: Update to uri 0.10.3 - For Ruby 3.1 and 3.2: Update to uri 0.12.2. 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.

Affected Packages

RubyGems uri
ECOSYSTEM: ≥0.10.1 <0.10.3
RubyGems uri
ECOSYSTEM: ≥0.12.0 <0.12.2
RubyGems uri
ECOSYSTEM: ≥0.11.0 <0.11.2
RubyGems uri
ECOSYSTEM: ≥0 <0.10.0.3

CVSS Scoring

CVSS Score

5.0

CVSS Vector

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

Advisory provided by GitHub Security Advisory Database. Published: June 29, 2023, Modified: May 4, 2024

References

HackerOne Reports

ooooooo_q
Internet Bug Bounty
$2540.00
Published: 2023-06-29T00:00:00
Last Modified: 2024-08-02T16:52:54.187Z
Copied to clipboard!