Live threats

All CVEs / Ruby-lang

CVE-2023-36617Ruby-lang Uri

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Jun 29, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Uri.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems uri ≥ 0.10.1 < 0.10.3 0.10.3 gem "uri", ">= 0.10.3"
RubyGems uri ≥ 0.12.0 < 0.12.2 0.12.2 gem "uri", ">= 0.12.2"
RubyGems uri ≥ 0.11.0 < 0.11.2 0.11.2 gem "uri", ">= 0.11.2"
RubyGems uri < 0.10.0.3 0.10.0.3 gem "uri", ">= 0.10.0.3"

Per OSV / GitHub Advisories (GHSA-hww2-5g85-429m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-languri< 0.10.3
ruby-languri≥ 0.11.0 < 0.12.2

Official sources

References

Links published by the sources. Open them with care.