Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-23516

7.5 · HIGH
Published Dec 14, 2022 loofah_project CWE-674 EPSS 1.09% (63th pctl)

Overview

CVE-2022-23516 is a high-severity vulnerability affecting loofah_project loofah. It was published on December 14, 2022 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from loofah_project. Update loofah to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
loofah_project loofah >= 2.2.0, < 2.19.1 Affected

Frequently Asked Questions

What is CVE-2022-23516?

CVE-2022-23516 is a high-severity vulnerability affecting loofah_project loofah. It was published on December 14, 2022 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2022-23516?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-23516?

Check the references section for vendor advisories and patches from loofah_project. Update loofah to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-23516?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-23516 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.