Bug 2153234 (CVE-2022-23514) - CVE-2022-23514 rubygem-loofah: inefficient regular expression leading to denial of service
Summary: CVE-2022-23514 rubygem-loofah: inefficient regular expression leading to deni...
Alias: CVE-2022-23514
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2153235 2153236 2153237 2153265
Blocks: 2153086
TreeView+ depends on / blocked
Reported: 2022-12-14 10:33 UTC by ybuenos
Modified: 2023-05-03 22:47 UTC (History)
16 users (show)

Fixed In Version: rubygem-loofah 2.19.1
Doc Type: If docs needed, set a value
Doc Text:
An inefficient regular expression vulnerability was found in rubygem loofah. While sanitizing certain SVG attributes, loofah is susceptible to excessive backtracking, which can result in a denial of service through CPU resource consumption.
Clone Of:
Last Closed: 2023-05-03 22:47:02 UTC

Attachments (Terms of Use)

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

Description ybuenos 2022-12-14 10:33:10 UTC
Loofah `< 2.19.1` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption.

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

Affects: fedora-all [bug 2153235]

Comment 5 errata-xmlrpc 2023-05-03 13:20:08 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:46:59 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


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