Bug 2164799 (CVE-2023-22795)

Summary: CVE-2023-22795 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: amackenz, amasferr, bbuckingham, bcourt, chazlett, ehelms, jsherril, kyoshida, lzap, mhulan, mkudlej, 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 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.
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: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]

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