Debian Package Tracker
Register | Log in
Subscribe

ruby-rails-html-sanitizer

HTML sanitization for Rails applications

Choose email to subscribe with

general
  • source: ruby-rails-html-sanitizer (main)
  • version: 1.4.4-1
  • maintainer: Debian Ruby Team (archive) (DMD)
  • uploaders: Balasankar C [DMD] – Georg Faerber [DMD]
  • arch: all
  • std-ver: 4.6.2
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.0.4-1
  • o-o-sec: 1.0.4-1+deb10u2
  • o-o-bpo: 1.3.0-1~bpo10+1
  • oldstable: 1.3.0-1
  • stable: 1.4.4-1
  • testing: 1.4.4-1
  • unstable: 1.4.4-1
versioned links
  • 1.0.4-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.0.4-1+deb10u2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.3.0-1~bpo10+1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.3.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.4.4-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • ruby-rails-html-sanitizer
action needed
A new upstream version is available: 1.6.0 high
A new upstream version 1.6.0 is available, you should consider packaging it.
Created: 2022-12-17 Last update: 2023-10-08 02:41
5 security issues in bullseye high

There are 5 open security issues in bullseye.

5 important issues:
  • CVE-2022-23517: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Certain configurations of rails-html-sanitizer < 1.4.4 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. This issue has been patched in version 1.4.4.
  • CVE-2022-23518: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0. This issue is patched in version 1.4.4.
  • CVE-2022-23519: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, a possible 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. Code is only impacted if allowed tags are being overridden. . This issue is fixed in version 1.4.4. All users overriding the allowed tags to include "math" or "svg" and "style" should either upgrade or use the following workaround immediately: Remove "style" from the overridden allowed tags, or remove "math" and "svg" from the overridden allowed tags.
  • CVE-2022-23520: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, there is a possible 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. Code is only impacted if allowed tags are being overridden. This issue is patched in version 1.4.4. All users overriding the allowed tags to include both "select" and "style" should either upgrade or use this workaround: Remove either "select" or "style" from the overridden allowed tags. NOTE: Code is _not_ impacted if allowed tags are overridden using either the :tags option to the Action View helper method sanitize or the :tags option to the instance method SafeListSanitizer#sanitize.
  • CVE-2022-32209: # Possible XSS Vulnerability in Rails::Html::SanitizerThere is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.This vulnerability has been assigned the CVE identifier CVE-2022-32209.Versions Affected: ALLNot affected: NONEFixed Versions: v1.4.3## ImpactA possible 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 to allow both `select` and `style` elements.Code is only impacted if allowed tags are being overridden. This may be done via application configuration:```ruby# In config/application.rbconfig.action_view.sanitized_allowed_tags = ["select", "style"]```see https://guides.rubyonrails.org/configuring.html#configuring-action-viewOr it may be done with a `:tags` option to the Action View helper `sanitize`:```<%= sanitize @comment.body, tags: ["select", "style"] %>```see https://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html#method-i-sanitizeOr it may be done with Rails::Html::SafeListSanitizer directly:```ruby# class-level optionRails::Html::SafeListSanitizer.allowed_tags = ["select", "style"]```or```ruby# instance-level optionRails::Html::SafeListSanitizer.new.sanitize(@article.body, tags: ["select", "style"])```All users overriding the allowed tags by any of the above mechanisms to include both "select" and "style" should either upgrade or use one of the workarounds immediately.## ReleasesThe FIXED releases are available at the normal locations.## WorkaroundsRemove either `select` or `style` from the overridden allowed tags.## CreditsThis vulnerability was responsibly reported by [windshock](https://hackerone.com/windshock?type=user).
Created: 2022-07-04 Last update: 2023-09-16 04:38
Fails to build during reproducibility testing normal
A package building reproducibly enables third parties to verify that the source matches the distributed binaries. It has been identified that this source package produced different results, failed to build or had other issues in a test environment. Please read about how to improve the situation!
Created: 2023-06-17 Last update: 2023-10-07 22:02
news
[rss feed]
  • [2023-09-13] Accepted ruby-rails-html-sanitizer 1.0.4-1+deb10u2 (source) into oldoldstable (Sylvain Beucler)
  • [2023-02-09] ruby-rails-html-sanitizer 1.4.4-1 MIGRATED to testing (Debian testing watch)
  • [2023-02-09] ruby-rails-html-sanitizer 1.4.4-1 MIGRATED to testing (Debian testing watch)
  • [2023-02-05] Accepted ruby-rails-html-sanitizer 1.4.4-1 (source) into unstable (Abhijith PA)
  • [2022-12-06] Accepted ruby-rails-html-sanitizer 1.0.4-1+deb10u1 (source) into oldstable (Utkarsh Gupta)
  • [2022-11-06] ruby-rails-html-sanitizer 1.4.3-0.1 MIGRATED to testing (Debian testing watch)
  • [2022-10-29] Accepted ruby-rails-html-sanitizer 1.4.3-0.1 (source) into unstable (Adrian Bunk)
  • [2022-01-29] ruby-rails-html-sanitizer 1.4.2-2 MIGRATED to testing (Debian testing watch)
  • [2022-01-23] Accepted ruby-rails-html-sanitizer 1.4.2-2 (source) into unstable (Pirate Praveen) (signed by: Praveen Arimbrathodiyil)
  • [2021-09-01] ruby-rails-html-sanitizer 1.4.2-1 MIGRATED to testing (Debian testing watch)
  • [2021-08-30] Accepted ruby-rails-html-sanitizer 1.4.2-1 (source) into unstable (Hideki Yamane)
  • [2021-08-16] ruby-rails-html-sanitizer 1.3.0-2 MIGRATED to testing (Debian testing watch)
  • [2021-06-12] Accepted ruby-rails-html-sanitizer 1.3.0-2 (source) into unstable (Hideki Yamane)
  • [2020-04-06] Accepted ruby-rails-html-sanitizer 1.3.0-1~bpo10+1 (source all) into buster-backports, buster-backports (Debian FTP Masters) (signed by: Praveen Arimbrathodiyil)
  • [2020-02-07] ruby-rails-html-sanitizer 1.3.0-1 MIGRATED to testing (Debian testing watch)
  • [2020-02-04] Accepted ruby-rails-html-sanitizer 1.3.0-1 (source) into unstable (Georg Faerber)
  • [2018-03-29] ruby-rails-html-sanitizer 1.0.4-1 MIGRATED to testing (Debian testing watch)
  • [2018-03-23] Accepted ruby-rails-html-sanitizer 1.0.4-1 (source) into unstable (Georg Faerber) (signed by: Cédric Boutillier)
  • [2016-03-10] ruby-rails-html-sanitizer 1.0.3-2 MIGRATED to testing (Debian testing watch)
  • [2016-03-05] Accepted ruby-rails-html-sanitizer 1.0.3-2 (source) into unstable (Christian Hofstaedtler)
  • [2016-01-29] ruby-rails-html-sanitizer 1.0.3-1 MIGRATED to testing (Debian testing watch)
  • [2016-01-26] Accepted ruby-rails-html-sanitizer 1.0.3-1 (source) into unstable (Antonio Terceiro)
  • [2015-07-14] ruby-rails-html-sanitizer 1.0.2-1 MIGRATED to testing (Britney)
  • [2015-07-08] Accepted ruby-rails-html-sanitizer 1.0.2-1 (source all) into unstable, unstable (Balasankar C) (signed by: Praveen Arimbrathodiyil)
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • screenshots
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 1.4.4-1

Debian Package Tracker — Copyright 2013-2018 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing