
CVE catalog
CVE-2022-23517
ruby-rails-html-sanitizer: CVE-2022-23517
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.58% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-rails-html-sanitizer | sid | 1.7.1-1 | fixed |
| Debian | ruby-rails-html-sanitizer | forky | 1.7.1-1 | fixed |
| Debian | ruby-rails-html-sanitizer | trixie | 1.6.2-1 | fixed |
| Debian | ruby-rails-html-sanitizer | bookworm | 1.4.4-1 | fixed |
| Suse | rubygem-rails-html-sanitizer | openstack cloud crowbar 8 | 1.0.3-8.14.1 | fixed |
| Suse | rubygem-rails-html-sanitizer | openstack cloud crowbar 9 | 1.0.3-8.14.1 | fixed |
| Suse | rubygem-rails-html-sanitizer | linux enterprise high availability extension 15 sp1 | 1.0.4-150000.4.6.1 | fixed |
| Suse | rubygem-rails-html-sanitizer | linux enterprise high availability extension 15 sp2 | 1.0.4-150000.4.6.1 | fixed |
| Suse | rubygem-rails-html-sanitizer | linux enterprise high availability extension 15 sp3 | 1.0.4-150000.4.6.1 | fixed |
| Suse | rubygem-rails-html-sanitizer | linux enterprise high availability extension 15 sp4 | 1.0.4-150000.4.6.1 | fixed |
| Suse | rubygem-rails-html-sanitizer | linux enterprise high availability extension 15 sp5 | 1.0.4-150000.4.6.1 | fixed |
| Opensuse | rubygem-rails-html-sanitizer | leap 15.4 | 1.0.4-150000.4.6.1 | fixed |
| Opensuse | rubygem-rails-html-sanitizer | leap 15.5 | 1.0.4-150000.4.6.1 | fixed |
| Opensuse | rubygem-rails-html-sanitizer | tumbleweed | 1.5.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-rails-html-sanitizer | source | sid | 1.4.4-1 | not yet assigned | Not reported | [1027153] |
| Debian | ruby-rails-html-sanitizer | source | forky | 1.4.4-1 | not yet assigned | Not reported | [1027153] |
| Debian | ruby-rails-html-sanitizer | source | trixie | 1.4.4-1 | not yet assigned | Not reported | [1027153] |
| Debian | ruby-rails-html-sanitizer | source | bookworm | 1.4.4-1 | not yet assigned | Not reported | [1027153] |
| Suse | rubygem-rails-html-sanitizer | rpm | openstack cloud crowbar 8 | 1.0.3-8.14.1 | Not reported | SUSE-SU-2023:3534-1 | Not reported |
| Suse | rubygem-rails-html-sanitizer | rpm | openstack cloud crowbar 9 | 1.0.3-8.14.1 | Not reported | SUSE-SU-2023:3534-1 | Not reported |
| Suse | rubygem-rails-html-sanitizer | rpm | linux enterprise high availability extension 15 sp1 | 1.0.4-150000.4.6.1 | Not reported | SUSE-SU-2023:3714-1 | Not reported |
| Suse | rubygem-rails-html-sanitizer | rpm | linux enterprise high availability extension 15 sp2 | 1.0.4-150000.4.6.1 | Not reported | SUSE-SU-2023:3714-1 | Not reported |
| Suse | rubygem-rails-html-sanitizer | rpm | linux enterprise high availability extension 15 sp3 | 1.0.4-150000.4.6.1 | Not reported | SUSE-SU-2023:3714-1 | Not reported |
| Suse | rubygem-rails-html-sanitizer | rpm | linux enterprise high availability extension 15 sp4 | 1.0.4-150000.4.6.1 | Not reported | SUSE-SU-2023:3714-1 | Not reported |
| Suse | rubygem-rails-html-sanitizer | rpm | linux enterprise high availability extension 15 sp5 | 1.0.4-150000.4.6.1 | Not reported | SUSE-SU-2023:3714-1 | Not reported |
| Opensuse | rubygem-rails-html-sanitizer | rpm | leap 15.4 | 1.0.4-150000.4.6.1 | Not reported | SUSE-SU-2023:3714-1 | Not reported |
| Opensuse | rubygem-rails-html-sanitizer | rpm | leap 15.5 | 1.0.4-150000.4.6.1 | Not reported | SUSE-SU-2023:3714-1 | Not reported |
| Opensuse | rubygem-rails-html-sanitizer | rpm | tumbleweed | 1.5.0-1.1 | Not reported | OPENSUSE-SU-2024:12769-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [ruby4.0-rubygem-rails-html-sanitizer]Unknown
Source package: [rubygem-rails-html-sanitizer]
Details (1)
1.7.0-1.3· x86_64 · tumbleweedUnknown · Fixed:
1.5.0-1.1Version impact unknown
dsa · rubygem-rails-html-sanitizer · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [ruby-rails-html-sanitizer]Fixed
Details (2)
1.4.4-1· all · bookwormFixed · Fixed:
1.4.4-1dsa · ruby-rails-html-sanitizer · debian · bookworm
1.4.4-1· all · bookwormFixed · Fixed:
1.4.4-1dsa · ruby-rails-html-sanitizer · debian · bookworm
Observed:
References
- [https://access.redhat.com/errata/RHSA-2023:2097]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_3534-1.json]
- [https://osv.dev/vulnerability/DLA-3566-1]
- [https://osv.dev/vulnerability/DLA-3902-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:3534-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:3714-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12769-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-23517]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1143.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]