Bug 2164799 (CVE-2023-22795) - CVE-2023-22795 rubygem-actionpack: Denial of Service in Action Dispatch
Summary: CVE-2023-22795 rubygem-actionpack: Denial of Service in Action Dispatch
Keywords:
Status: NEW
Alias: CVE-2023-22795
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: Red Hat2164803 2164802
Blocks: Embargoed2162605
TreeView+ depends on / blocked
 
Reported: 2023-01-26 14:19 UTC by ybuenos
Modified: 2023-05-15 20:19 UTC (History)
15 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 Action Dispatch related to the If-None-Match header. By sending a specially-crafted HTTP If-None-Match header, a remote attacker can use large amounts of CPU and memory, resulting in a denial of service.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description ybuenos 2023-01-26 14:19:48 UTC
A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible Denial of Service vulnerability.

Comment 1 ybuenos 2023-01-26 14:25:17 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.