GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

SUSE-SU-2022:2885-1

Vulnerability from csaf_suse - Published: 2022-08-24 12:37 - Updated: 2022-08-24 12:37
Summary
Security update for rubygem-rails-html-sanitizer
Severity
Moderate
Notes
Title of the patch: Security update for rubygem-rails-html-sanitizer
Description of the patch: This update for rubygem-rails-html-sanitizer fixes the following issues: - CVE-2022-32209: Fixed a potential content injection under specific configurations (bsc#1201183).
Patchnames: SUSE-2022-2885,SUSE-OpenStack-Cloud-Crowbar-8-2022-2885,SUSE-OpenStack-Cloud-Crowbar-9-2022-2885
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Affected products
Product Identifier Version Remediation
Unresolved product id: SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64
Vendor Fix
Unresolved product id: SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64
Vendor Fix
Threats
Impact moderate

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for rubygem-rails-html-sanitizer",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for rubygem-rails-html-sanitizer fixes the following issues:\n\n- CVE-2022-32209: Fixed a potential content injection under specific\n  configurations (bsc#1201183).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2022-2885,SUSE-OpenStack-Cloud-Crowbar-8-2022-2885,SUSE-OpenStack-Cloud-Crowbar-9-2022-2885",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_2885-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2022:2885-1",
        "url": "https://www.suse.com/support/update/announcement/2022/suse-su-20222885-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2022:2885-1",
        "url": "https://lists.suse.com/pipermail/sle-security-updates/2022-August/011985.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1201183",
        "url": "https://bugzilla.suse.com/1201183"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2022-32209 page",
        "url": "https://www.suse.com/security/cve/CVE-2022-32209/"
      }
    ],
    "title": "Security update for rubygem-rails-html-sanitizer",
    "tracking": {
      "current_release_date": "2022-08-24T12:37:41Z",
      "generator": {
        "date": "2022-08-24T12:37:41Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2022:2885-1",
      "initial_release_date": "2022-08-24T12:37:41Z",
      "revision_history": [
        {
          "date": "2022-08-24T12:37:41Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.aarch64",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.aarch64",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.aarch64",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.aarch64",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.aarch64",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.aarch64",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.i586",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.i586",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.i586"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.i586",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.i586",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.i586"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.i586",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.i586",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.i586"
                }
              }
            ],
            "category": "architecture",
            "name": "i586"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.ppc64le",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.ppc64le",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.ppc64le",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.ppc64le",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.ppc64le",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.ppc64le",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.s390",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.s390",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.s390"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.s390",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.s390",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.s390"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.s390",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.s390",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.s390"
                }
              }
            ],
            "category": "architecture",
            "name": "s390"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.s390x",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.s390x",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.s390x",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.s390x",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.s390x",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.s390x",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.x86_64",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.x86_64",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-doc-1.0.3-8.11.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.x86_64",
                "product": {
                  "name": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.x86_64",
                  "product_id": "ruby2.1-rubygem-rails-html-sanitizer-testsuite-1.0.3-8.11.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE OpenStack Cloud Crowbar 8",
                "product": {
                  "name": "SUSE OpenStack Cloud Crowbar 8",
                  "product_id": "SUSE OpenStack Cloud Crowbar 8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:suse-openstack-cloud-crowbar:8"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE OpenStack Cloud Crowbar 9",
                "product": {
                  "name": "SUSE OpenStack Cloud Crowbar 9",
                  "product_id": "SUSE OpenStack Cloud Crowbar 9",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:suse-openstack-cloud-crowbar:9"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64 as component of SUSE OpenStack Cloud Crowbar 8",
          "product_id": "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64"
        },
        "product_reference": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64",
        "relates_to_product_reference": "SUSE OpenStack Cloud Crowbar 8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64 as component of SUSE OpenStack Cloud Crowbar 9",
          "product_id": "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64"
        },
        "product_reference": "ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64",
        "relates_to_product_reference": "SUSE OpenStack Cloud Crowbar 9"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2022-32209",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2022-32209"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "# 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\u0027s 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`:```\u003c%= sanitize @comment.body, tags: [\"select\", \"style\"] %\u003e```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).",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64",
          "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2022-32209",
          "url": "https://www.suse.com/security/cve/CVE-2022-32209"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1201183 for CVE-2022-32209",
          "url": "https://bugzilla.suse.com/1201183"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1206436 for CVE-2022-32209",
          "url": "https://bugzilla.suse.com/1206436"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64",
            "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64",
            "SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-rails-html-sanitizer-1.0.3-8.11.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2022-08-24T12:37:41Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2022-32209"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…