Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. uri
  4. ›
  5. CVE-2023-36617

CVE-2023-36617: Inefficient Regular Expression Complexity

June 29, 2023 (updated July 25, 2023)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2023-36617
  • www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/

Code Behaviors & Features

Detect and mitigate CVE-2023-36617 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.10.3, all versions starting from 0.11.0 before 0.12.2

Fixed versions

  • 0.10.3
  • 0.12.2

Solution

Upgrade to versions 0.10.3, 0.12.2 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

gem/uri/CVE-2023-36617.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.