Bug 2164800 (CVE-2023-22792)

Summary: CVE-2023-22792 rubygem-actionpack: Denial of Service in Action Dispatch
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alex.wang, amackenz, amasferr, bbuckingham, bcourt, chazlett, ehelms, jsherril, kyoshida, lzap, mhulan, nmoumoul, orabin, pcreech, rchan, tjochec
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-actionpack 6.1.7.1, rubygem-actionpack 7.0.4.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the rubygem-actionpack. RubyGem's actionpack gem is vulnerable to a denial of service caused by a regular expression denial of service (ReDoS) flaw in the Action Dispatch module. By sending specially-crafted cookies with an X_FORWARDED_HOST header, a remote attacker could exploit this vulnerability to use large amounts of CPU and memory, resulting in a denial of service.
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: 2164802, 2164803    
Bug Blocks: 2162605    

Description ybuenos 2023-01-26 14:24:22 UTC
Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability.

We recommend that all users upgrade to one of the FIXED versions. In the meantime, users can mitigate this vulnerability by using a load balancer or other device to filter out malicious X_FORWARDED_HOST headers before they reach the application.

Comment 1 ybuenos 2023-01-26 14:25:29 UTC
Created rubygem-actionpack tracking bugs for this issue:

Affects: fedora-all [bug 2164802]

Comment 8 errata-xmlrpc 2023-11-08 14:17:14 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.14 for RHEL 8

Via RHSA-2023:6818 https://access.redhat.com/errata/RHSA-2023:6818