Skip to main content
← All vulnerabilities
CVE-2022-23514GHSA-486F-HJJ9-9VHH

Inefficient Regular Expression Complexity in Loofah

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.19.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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 certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • flavorjones loofah

    fixed in 2.19.1

  • loofahRubyGems

    fixed in 2.19.1

References 3

GitHub · flavorjones/loofah

hackerone.com

lists.debian.org