cve.bz

CVE-2023-36617 ruby-lang uri

5.3 mediumEPSS 1.7%Fix available

Medium (5.3) in ruby-lang uri. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in uri 0.10.0.3, 0.10.3, 0.11.2.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-36617 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-36617?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-36617?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-36617 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:uribefore 0.10.3
ruby-lang:urifrom 0.11.0 before 0.12.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hww2-5g85-429mRubyGemsuri>=0.10.1 <0.10.30.10.3
GHSA-hww2-5g85-429mRubyGemsuri>=0.12.0 <0.12.20.12.2
GHSA-hww2-5g85-429mRubyGemsuri>=0.11.0 <0.11.20.11.2
GHSA-hww2-5g85-429mRubyGemsuri<0.10.0.30.10.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ruby2.72.7.4-1+deb11u2DEBIAN-CVE-2023-36617 DLA-3858-1
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morejrubyno fix listedUBUNTU-CVE-2023-36617
Ubuntu20.04:LTSruby2.72.7.0-5ubuntu1.12UBUNTU-CVE-2023-36617 USN-6219-1
Ubuntu22.04:LTSruby3.03.0.2-7ubuntu2.4UBUNTU-CVE-2023-36617 USN-6219-1
Ubuntu22.04:LTSrubygems3.3.5-2ubuntu1.2UBUNTU-CVE-2023-36617 USN-7747-1
UbuntuPro:16.04:LTSruby2.32.3.1-2~ubuntu16.04.16+esm8UBUNTU-CVE-2023-36617 USN-6219-1
UbuntuPro:18.04:LTSruby2.52.5.1-1ubuntu1.16+esm1UBUNTU-CVE-2023-36617 USN-6219-1
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-112.module+el8.10.0+22021+135c76a8RHSA-2024:4499
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 7 more0:3.1.4-142.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.10.0+22021+135c76a8RHSA-2024:4499
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-112.module+el8.10.0+22021+135c76a8RHSA-2024:4499
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.1.1-142.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.9.0+19193+435404aeRHSA-2024:4499
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:2.3.26-142.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-4.module+el8.10.0+22021+135c76a8RHSA-2024:4499
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-112.module+el8.10.0+22021+135c76a8RHSA-2024:4499
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.4.6-112.module+el8.10.0+22021+135c76a8RHSA-2024:4499
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.5.11-142.module+el8.9.0+21471+7d1e4a35RHSA-2024:1431
48 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8ruby, ruby-doc, ruby-irb and 2 more2.5.9-112.module_el8.10.0+3871+342e2c2fALSA-2024:4499
AlmaLinux8ruby, ruby-doc, ruby-libs and 3 more3.1.4-142.module_el8.9.0+3746+91b8233aALSA-2024:1431
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.10.0+3871+342e2c2fALSA-2024:4499
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.4.0-1.module_el8.7.0+3304+9392e77fALSA-2024:1431
AlmaLinux8rubygem-bigdecimal1.3.4-112.module_el8.10.0+3871+342e2c2fALSA-2024:4499
AlmaLinux8rubygem-bigdecimal3.1.1-142.module_el8.9.0+3746+91b8233aALSA-2024:1431
AlmaLinux8rubygem-bson4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2024:4499
AlmaLinux8rubygem-bson4.3.0-2.module_el8.6.0+3170+4b08f9d4ALSA-2024:4499
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2024:4499
AlmaLinux8rubygem-bundler2.3.26-142.module_el8.9.0+3746+91b8233aALSA-2024:1431
AlmaLinux8rubygem-bundler, rubygem-bundler-doc1.16.1-4.module_el8.10.0+3871+342e2c2fALSA-2024:4499
AlmaLinux8rubygem-did_you_mean1.2.0-112.module_el8.10.0+3871+342e2c2fALSA-2024:4499
52 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-112.module+el8.10.0+1839+f1f156aeRLSA-2024:4499
Rocky Linux8ruby0:3.1.4-142.module+el8.9.0+1759+ff68ae72RLSA-2024:1431
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2024:4499
Rocky Linux8rubygem-abrt0:0.4.0-1.module+el8.5.0+668+665814faRLSA-2024:1431
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.9.0+1536+5f79634eRLSA-2024:4499
Rocky Linux8rubygem-bundler0:1.16.1-4.module+el8.9.0+1536+5f79634eRLSA-2024:4499
Rocky Linux8rubygem-mongo0:2.5.1-2.module+el8.9.0+1536+5f79634eRLSA-2024:4499
Rocky Linux8rubygem-mysql20:0.4.10-4.module+el8.9.0+1536+5f79634eRLSA-2024:4499
Rocky Linux8rubygem-mysql20:0.5.3-3.module+el8.9.0+1759+ff68ae72RLSA-2024:1431
Rocky Linux8rubygem-pg0:1.0.0-3.module+el8.9.0+1536+5f79634eRLSA-2024:4499
Rocky Linux8rubygem-pg0:1.3.2-1.module+el8.7.0+1081+f0a69743RLSA-2024:1431
Rocky Linux9rubygem-mysql20:0.5.4-1.module+el9.6.0+31865+0893c253RLSA-2024:1576
1 more for Rocky Linux in the JSON.
Azure Linux2ruby3.1.4-2AZL-27310

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability exists due to an incomplete fix for CVE-2023-28755 in upstream.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:3.1-8090020240311122605.a75119d5Fixed 2024-03-19RHSA-2024:1431
Red Hat Enterprise Linux 8ruby:2.5-8100020240627152904.489197e6Fixed 2024-07-11RHSA-2024:4499
Red Hat Enterprise Linux 9ruby:3.1-9030020240320163942.9Fixed 2024-04-01RHSA-2024:1576
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Will not fix
Red Hat Enterprise Linux 8ruby:3.0/rubyWill not fix
Red Hat Enterprise Linux 9rubyWill not fix
Red Hat Satellite 6puppet-agentAffected
Red Hat Satellite 6rubyNot affected
Red Hat Satellite 6rubygem-bundlerNot affected
Red Hat Software Collectionsrh-ruby30-rubyWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-36617.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON