Bug 2218614 (CVE-2023-36617) - CVE-2023-36617 rubygem-uri: ReDoS vulnerability - upstream's incomplete fix for CVE-2023-28755
Summary: CVE-2023-36617 rubygem-uri: ReDoS vulnerability - upstream's incomplete fix f...
Keywords:
Status: NEW
Alias: CVE-2023-36617
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2221560 2221596 2218617 2221559 2221595 2221597 2221886 2221887 2221888 2221889 2221915
Blocks: 2218613
TreeView+ depends on / blocked
 
Reported: 2023-06-29 16:38 UTC by Patrick Del Bello
Modified: 2024-04-01 01:16 UTC (History)
19 users (show)

Fixed In Version: rubygem-uri 0.12.2, rubygem-uri 0.10.3
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the rubygem URI. The URI parser mishandles invalid URLs that have specific characters, which causes an increase in execution time parsing strings to URI objects. This issue may result in a regular expression denial of service (ReDoS).
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:1431 0 None None None 2024-03-19 18:37:53 UTC
Red Hat Product Errata RHSA-2024:1576 0 None None None 2024-04-01 01:16:43 UTC

Description Patrick Del Bello 2023-06-29 16:38:21 UTC
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.

https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/

Comment 4 TEJ RATHI 2023-07-10 04:37:07 UTC
Created ruby tracking bugs for this issue:

Affects: fedora-all [bug 2221559]


Created ruby:3.1/ruby tracking bugs for this issue:

Affects: fedora-all [bug 2221560]

Comment 14 errata-xmlrpc 2024-03-19 18:37:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:1431 https://access.redhat.com/errata/RHSA-2024:1431

Comment 15 errata-xmlrpc 2024-04-01 01:16:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:1576 https://access.redhat.com/errata/RHSA-2024:1576


Note You need to log in before you can comment on or make changes to this bug.