Bug 2153241 (CVE-2022-23516)

Summary: CVE-2022-23516 rubygem-loofah: Uncontrolled Recursion leading to denial of service
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amackenz, amasferr, bbuckingham, bcourt, btotty, chazlett, ehelms, jsherril, lzap, mhulan, mkudlej, nmoumoul, orabin, pcreech, rchan, tjochec
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-loofah 2.19.1 Doc Type: ---
Doc Text:
An uncontrolled recursion vulnerability was found in rubygem loofah. While sanitizing certain sections, loofah is susceptible to stack exhaustion, which can result in a denial of service through CPU resource consumption.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 22:48:07 UTC 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: 2153242, 2153236, 2153237, 2153253, 2153254, 2153265    
Bug Blocks: 2153086    

Description ybuenos 2022-12-14 10:48:01 UTC
Loofah `>= 2.2.0, < 2.19.1` uses recursion for sanitizing `CDATA` sections, making it susceptible to stack exhaustion and raising a `SystemStackError` exception.  This may lead to a denial of service through CPU resource consumption.

Comment 1 ybuenos 2022-12-14 10:48:18 UTC
Created rubygem-loofah tracking bugs for this issue:

Affects: fedora-all [bug 2153242]

Comment 5 errata-xmlrpc 2023-05-03 13:20:11 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.13 for RHEL 8

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

Comment 6 Product Security DevOps Team 2023-05-03 22:48:04 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-23516