Bug 2218614 (CVE-2023-36617)

Summary: CVE-2023-36617 rubygem-uri: ReDoS vulnerability - upstream's incomplete fix for CVE-2023-28755
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amasferr, bbuckingham, bcourt, chazlett, ehelms, hhorak, jorton, jsherril, lzap, mhulan, mkudlej, myarboro, nmoumoul, orabin, pcreech, rchan, ruby-maint, tjochec, vondruch
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2218617, 2221559, 2221560, 2221595, 2221596, 2221597, 2221886, 2221887, 2221888, 2221889, 2221915    
Bug Blocks: 2218613    

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

Comment 16 errata-xmlrpc 2024-07-11 11:47:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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