[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SECURITY] [DLA 3566-1] ruby-rails-html-sanitizer security update



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-3566-1                debian-lts@lists.debian.org
https://www.debian.org/lts/security/                      Sylvain Beucler
September 13, 2023                            https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : ruby-rails-html-sanitizer
Version        : 1.0.4-1+deb10u2
CVE ID         : CVE-2022-23517 CVE-2022-23518 CVE-2022-23519 CVE-2022-23520 
Debian Bug     : 1027153

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

CVE-2022-23517

    Certain configurations use 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.

CVE-2022-23518

    Cross-site scripting via data URIs when used in combination with
    Loofah >= 2.1.0.

CVE-2022-23519

    XSS vulnerability with certain configurations of
    Rails::Html::Sanitizer may allow an attacker to inject content if
    the application developer has overridden the sanitizer's allowed
    tags in either of the following ways: allow both "math" and
    "style" elements, or allow both "svg" and "style" elements.

CVE-2022-23520

    XSS vulnerability with certain configurations of
    Rails::Html::Sanitizer due to an incomplete fix of
    CVE-2022-32209. Rails::Html::Sanitizer may allow an attacker to
    inject content if the application developer has overridden the
    sanitizer's allowed tags to allow both "select" and "style"
    elements.

For Debian 10 buster, these problems have been fixed in version
1.0.4-1+deb10u2.

We recommend that you upgrade your ruby-rails-html-sanitizer packages.

For the detailed security status of ruby-rails-html-sanitizer please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/ruby-rails-html-sanitizer

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE1vEOfV7HXWKqBieIDTl9HeUlXjAFAmUBzVkACgkQDTl9HeUl
XjAB6A//QHx+BM21213XJvRMtR9Cy5HKTFcnt2sSOrCaiUvofbFRBOCZBaivjTwd
7MEq+Q7RUJhyuy9m/5yMtswgECi4qyrKKsOqV3oOmiOyI89PR0ZzgKqMldQw6b0T
eWsiSgPrVcPtVCoOsbLTJsaafrA9tLMXNzjH3rDKCv65i6trTSTlG2y7gx1kEgKP
o+pi2eWkOdrvR+vj0rq1IqTzlm0xq3SujY+/QeKpKY8UZiXpQ77DEG4/s9iCa+21
yCggRnJwRcSTmGD2LSlNa7nMM/cqFyM7yWmnSrM7jJgJUcOwFDqBg5gIub4nAI60
ZyuBrHnCF4Qi+sE3ZHkI6iMdovbm6U8/2RxL1pQVS9LNGOgRO07OiP+7ER9328rO
b6ybtgTWL8jKxGD6xlGk8x0Z5tQoyP/t6TUeVTbpGTc0TrYErQ7QAeyXmVvM5VBd
CLs3/kA4kjyrZSXZOLnF11fryfqlSUTZ+10vf2LXbHFr7zUqAyR67PbKL5priULu
fqjNzmCVyVmg+iOvR8paiReGhIz/fGNSrgRDSCg/jacb95LAUg8Nics9L0RVJmwK
B8wZxOzlGYITQTIF6mWdvpyFFJkbNqHnHjuW1MnfRjGHTnUjvLwPRRCygyV/mkmg
m6yZOFWK02EtrBfYe7q7ESzMzW9384uDEyYguW75gHvM9oUdvRw=
=6A1s
-----END PGP SIGNATURE-----


Reply to: