Bug 2164800 (CVE-2023-22792) - CVE-2023-22792 rubygem-actionpack: Denial of Service in Action Dispatch
Summary: CVE-2023-22792 rubygem-actionpack: Denial of Service in Action Dispatch
Keywords:
Status: NEW
Alias: CVE-2023-22792
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: 2164803 2164802
Blocks: 2162605
TreeView+ depends on / blocked
 
Reported: 2023-01-26 14:24 UTC by ybuenos
Modified: 2023-07-07 08:28 UTC (History)
17 users (show)

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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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]


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