Skip to content
OpenAdvisories
High SUSE-SU-2023:1657-1 3 CVEs

Security update for rubygem-loofah

Published Mar 29, 2023 · Updated Feb 4, 2026

Summary

This update for rubygem-loofah fixes the following issues:

- CVE-2022-23514: Fixed inefficient regular expression leading to denial of service (bsc#1206415).
- CVE-2022-23515: Fixed improper neutralization of data URIs leading to Cross Site Scripting (bsc#1206417).
- CVE-2022-23516: Fixed uncontrolled Recursion leading to denial of service (bsc#1206416).

Fixed packages 5

ReleasePackageFixed in
openSUSE · Leap 15.4 rubygem-loofah 2.2.2-150000.4.9.1
SUSE · SLES 15 SP1 Linux Enterprise High Availability Extension 15 SP1 rubygem-loofah 2.2.2-150000.4.9.1
SUSE · SLES 15 SP2 Linux Enterprise High Availability Extension 15 SP2 rubygem-loofah 2.2.2-150000.4.9.1
SUSE · SLES 15 SP3 Linux Enterprise High Availability Extension 15 SP3 rubygem-loofah 2.2.2-150000.4.9.1
SUSE · SLES 15 SP4 Linux Enterprise High Availability Extension 15 SP4 rubygem-loofah 2.2.2-150000.4.9.1

Vulnerabilities 3

  • High 7.5

    Inefficient Regular Expression Complexity in Loofah

    Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize cert…

  • High 7.5

    Uncontrolled Recursion in Loofah

    Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to stack exhaustion and raising a SystemSta…

  • Medium 6.1

    Improper neutralization of data URIs may allow XSS in Loofah

    Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs. This issue is patched in v…

References

  • report
    https://bugzilla.suse.com/1206415
  • report
    https://bugzilla.suse.com/1206416
  • report
    https://bugzilla.suse.com/1206417
  • web
    https://www.suse.com/security/cve/CVE-2022-23514
  • web
    https://www.suse.com/security/cve/CVE-2022-23515
  • web
    https://www.suse.com/security/cve/CVE-2022-23516