Upstream information

CVE-2022-23516 at MITRE

Description

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 SystemStackError exception. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1. Users who are unable to upgrade may be able to mitigate this vulnerability by limiting the length of the strings that are sanitized.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1206416 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Image SLES15-SP1-SAP-Azure-LI-BYOS-Production
Image SLES15-SP1-SAP-Azure-VLI-BYOS-Production
Image SLES15-SP2-SAP-Azure
Image SLES15-SP2-SAP-Azure-LI-BYOS-Production
Image SLES15-SP2-SAP-Azure-VLI-BYOS-Production
Image SLES15-SP2-SAP-BYOS-Azure
Image SLES15-SP2-SAP-BYOS-EC2-HVM
Image SLES15-SP2-SAP-BYOS-GCE
Image SLES15-SP2-SAP-EC2-HVM
Image SLES15-SP2-SAP-GCE
Image SLES15-SP3-SAP-Azure-LI-BYOS-Production
Image SLES15-SP3-SAP-Azure-VLI-BYOS-Production
Image SLES15-SP3-SAP-BYOS-Azure
Image SLES15-SP3-SAP-BYOS-EC2-HVM
Image SLES15-SP3-SAP-BYOS-GCE
Image SLES15-SP4-SAP-Azure-LI-BYOS
Image SLES15-SP4-SAP-Azure-LI-BYOS-Production
Image SLES15-SP4-SAP-Azure-VLI-BYOS
Image SLES15-SP4-SAP-Azure-VLI-BYOS-Production
Image SLES15-SP4-SAP-BYOS
Image SLES15-SP4-SAP-BYOS-Azure
Image SLES15-SP4-SAP-BYOS-EC2
Image SLES15-SP4-SAP-BYOS-GCE
Image SLES15-SP4-SAP-Hardened
Image SLES15-SP4-SAP-Hardened-Azure
Image SLES15-SP4-SAP-Hardened-BYOS
Image SLES15-SP4-SAP-Hardened-BYOS-Azure
Image SLES15-SP4-SAP-Hardened-BYOS-EC2
Image SLES15-SP4-SAP-Hardened-BYOS-GCE
Image SLES15-SP4-SAP-Hardened-EC2
Image SLES15-SP4-SAP-Hardened-GCE
Image SLES15-SP5-SAP-Azure-LI-BYOS
Image SLES15-SP5-SAP-Azure-LI-BYOS-Production
Image SLES15-SP5-SAP-Azure-VLI-BYOS
Image SLES15-SP5-SAP-Azure-VLI-BYOS-Production
Image SLES15-SP5-SAP-BYOS-Azure
Image SLES15-SP5-SAP-BYOS-EC2
Image SLES15-SP5-SAP-BYOS-GCE
Image SLES15-SP5-SAP-Hardened-Azure
Image SLES15-SP5-SAP-Hardened-BYOS-Azure
Image SLES15-SP5-SAP-Hardened-BYOS-EC2
Image SLES15-SP5-SAP-Hardened-BYOS-GCE
Image SLES15-SP5-SAP-Hardened-EC2
Image SLES15-SP5-SAP-Hardened-GCE
Image SLES15-SP6-SAP-Azure-LI-BYOS
Image SLES15-SP6-SAP-Azure-LI-BYOS-Production
Image SLES15-SP6-SAP-Azure-VLI-BYOS
Image SLES15-SP6-SAP-Azure-VLI-BYOS-Production
Image SLES15-SP6-SAP-BYOS
Image SLES15-SP6-SAP-BYOS-Azure
Image SLES15-SP6-SAP-BYOS-EC2
Image SLES15-SP6-SAP-BYOS-GCE
Image SLES15-SP6-SAP-Hardened
Image SLES15-SP6-SAP-Hardened-Azure
Image SLES15-SP6-SAP-Hardened-BYOS
Image SLES15-SP6-SAP-Hardened-BYOS-Azure
Image SLES15-SP6-SAP-Hardened-BYOS-EC2
Image SLES15-SP6-SAP-Hardened-BYOS-GCE
Image SLES15-SP6-SAP-Hardened-EC2
Image SLES15-SP6-SAP-Hardened-GCE
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
SUSE Linux Enterprise High Availability Extension 15 SP1
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
Patchnames:
SUSE-SLE-Product-HA-15-SP1-2023-1657
SUSE Linux Enterprise High Availability Extension 15 SP2
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
Patchnames:
SUSE-SLE-Product-HA-15-SP2-2023-1657
SUSE Linux Enterprise High Availability Extension 15 SP3
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
Patchnames:
SUSE-SLE-Product-HA-15-SP3-2023-1657
SUSE Linux Enterprise High Availability Extension 15 SP4
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
Patchnames:
SUSE-SLE-Product-HA-15-SP4-2023-1657
SUSE Linux Enterprise High Availability Extension 15 SP5
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
Patchnames:
SUSE Linux Enterprise High Availability Extension 15 SP5 GA rubygem-loofah-2.2.2-150000.4.9.1
SUSE Linux Enterprise High Availability Extension 15 SP6
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
Patchnames:
SUSE Linux Enterprise High Availability Extension 15 SP6 GA rubygem-loofah-2.2.2-150000.4.9.1
openSUSE Leap 15.4
  • ruby2.5-rubygem-loofah >= 2.2.2-150000.4.9.1
  • ruby2.5-rubygem-loofah-doc >= 2.2.2-150000.4.9.1
  • ruby2.5-rubygem-loofah-testsuite >= 2.2.2-150000.4.9.1
Patchnames:
openSUSE-SLE-15.4-2023-1657
openSUSE Tumbleweed
  • ruby3.1-rubygem-loofah >= 2.19.1-1.1
  • ruby3.2-rubygem-loofah >= 2.19.1-1.1
  • ruby3.3-rubygem-loofah >= 2.22.0-1.5
Patchnames:
openSUSE-Tumbleweed-2024-12768
openSUSE-Tumbleweed-2024-14171


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP5 rubygem-loofah Released
SUSE Linux Enterprise High Availability Extension 15 SP6 rubygem-loofah Released
openSUSE Leap 15.5 rubygem-loofah Affected
openSUSE Leap 15.6 rubygem-loofah Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-loofah Released
SUSE Linux Enterprise High Availability Extension 15 SP3 rubygem-loofah Released
SUSE Linux Enterprise High Availability Extension 15 SP4 rubygem-loofah Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 2.1 rubygem-loofah Not affected
SUSE Enterprise Storage 3 rubygem-loofah Not affected
SUSE Enterprise Storage 4 rubygem-loofah Not affected
SUSE Linux Enterprise High Availability Extension 15 rubygem-loofah Unsupported
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-loofah Released
SUSE OpenStack Cloud 6 rubygem-loofah Not affected
SUSE OpenStack Cloud 6-LTSS rubygem-loofah Not affected
SUSE OpenStack Cloud 7 rubygem-loofah Not affected
SUSE OpenStack Cloud Crowbar 8 rubygem-loofah Not affected
SUSE OpenStack Cloud Crowbar 9 rubygem-loofah Not affected
openSUSE Leap 15.3 rubygem-loofah Affected
openSUSE Leap 15.4 rubygem-loofah Released


SUSE Timeline for this CVE

CVE page created: Wed Dec 14 13:00:51 2022
CVE page last modified: Mon Nov 18 14:07:03 2024