Bug 2153241 (CVE-2022-23516) - CVE-2022-23516 rubygem-loofah: Uncontrolled Recursion leading to denial of service
Summary: CVE-2022-23516 rubygem-loofah: Uncontrolled Recursion leading to denial of se...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-23516
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: 2153242 2153236 2153237 2153253 2153254 2153265
Blocks: 2153086
TreeView+ depends on / blocked
 
Reported: 2022-12-14 10:48 UTC by ybuenos
Modified: 2023-05-03 22:48 UTC (History)
16 users (show)

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.
Clone Of:
Environment:
Last Closed: 2023-05-03 22:48:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:20:13 UTC

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


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