Debian 9886 Published by

A ruby-loofah security update security update has been released for Debian GNU/Linux 10 LTS to address multiple vulnerabilities.

[SECURITY] [DLA 3565-1] ruby-loofah security update

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-3565-1 Sylvain Beucler
September 13, 2023
- -------------------------------------------------------------------------

Package : ruby-loofah
Version : 2.2.3-1+deb10u2
CVE ID : CVE-2022-23514 CVE-2022-23515 CVE-2022-23516
Debian Bug : 1026083

Multiple vulnerabilities were discovered in Loofah, a Ruby library for
HTML/XML transformation and sanitization. An attacker could launch
cross-site scripting (XSS) and denial-of-service (DoS) attacks through
crafted HTML/XML documents.


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.


Cross-site scripting via the image/svg+xml media type in data


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

For Debian 10 buster, these problems have been fixed in version

We recommend that you upgrade your ruby-loofah packages.

For the detailed security status of ruby-loofah please refer to
its security tracker page at:

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: