
CVE catalog
CVE-2023-22796
rails: CVE-2023-22796
- 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.71% · Oct 25, 2026
A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1. A specially crafted string passed to the underscore method can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability.
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 | rails | sid | 2:7.2.4+dfsg-2 | fixed |
| Debian | rails | forky | 2:7.2.4+dfsg-1 | fixed |
| Debian | rails | trixie | 2:7.2.2.2+dfsg-2~deb13u1 | fixed |
| Debian | rails | trixie-security | 2:7.2.2.2+dfsg-2~deb13u2 | fixed |
| Debian | rails | bookworm | 2:6.1.7.10+dfsg-1~deb12u2 | fixed |
| Debian | rails | bookworm-security | 2:6.1.7.10+dfsg-1~deb12u3 | fixed |
| Opensuse | rubygem-activesupport-7.0 | tumbleweed | 7.0.8.4-1.1 | fixed |
| Suse | rubygem-activesupport-4_2 | openstack cloud crowbar 8 | 4.2.9-7.15.1 | fixed |
| Suse | rubygem-activesupport-4_2 | openstack cloud crowbar 9 | 4.2.9-7.15.1 | fixed |
| Opensuse | rubygem-activesupport-7.0 | tumbleweed | 7.0.4.1-1.1 | fixed |
| Opensuse | rubygem-activesupport-7.0 | tumbleweed | 7.0.8.6-1.3 | fixed |
| Suse | rubygem-activesupport-5_1 | linux enterprise high availability extension 15 sp1 | 5.1.4-150000.3.12.1 | fixed |
| Suse | rubygem-activesupport-5_1 | linux enterprise high availability extension 15 sp2 | 5.1.4-150000.3.12.1 | fixed |
| Suse | rubygem-activesupport-5_1 | linux enterprise high availability extension 15 sp3 | 5.1.4-150000.3.12.1 | fixed |
| Suse | rubygem-activesupport-5_1 | linux enterprise high availability extension 15 sp4 | 5.1.4-150000.3.12.1 | fixed |
| Opensuse | rubygem-activesupport-5_1 | leap 15.4 | 5.1.4-150000.3.12.1 | fixed |
| Cpe | activesupport | Not reported | 7.0.4.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rails | source | sid | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Debian | rails | source | forky | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Debian | rails | source | trixie | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Debian | rails | source | bookworm | 2:6.1.7.3+dfsg-1 | not yet assigned | Not reported | [1030050] |
| Opensuse | rubygem-activesupport-7.0 | rpm | tumbleweed | 7.0.8.4-1.1 | Not reported | OPENSUSE-SU-2024:14071-1 | Not reported |
| Suse | rubygem-activesupport-4_2 | rpm | openstack cloud crowbar 8 | 4.2.9-7.15.1 | Not reported | SUSE-SU-2023:0612-1 | Not reported |
| Suse | rubygem-activesupport-4_2 | rpm | openstack cloud crowbar 9 | 4.2.9-7.15.1 | Not reported | SUSE-SU-2023:0612-1 | Not reported |
| Opensuse | rubygem-activesupport-7.0 | rpm | tumbleweed | 7.0.4.1-1.1 | Not reported | OPENSUSE-SU-2024:12767-1 | Not reported |
| Opensuse | rubygem-activesupport-7.0 | rpm | tumbleweed | 7.0.8.6-1.3 | Not reported | OPENSUSE-SU-2025:15114-1 | Not reported |
| Suse | rubygem-activesupport-5_1 | rpm | linux enterprise high availability extension 15 sp1 | 5.1.4-150000.3.12.1 | Not reported | SUSE-SU-2023:0275-1 | Not reported |
| Suse | rubygem-activesupport-5_1 | rpm | linux enterprise high availability extension 15 sp2 | 5.1.4-150000.3.12.1 | Not reported | SUSE-SU-2023:0275-1 | Not reported |
| Suse | rubygem-activesupport-5_1 | rpm | linux enterprise high availability extension 15 sp3 | 5.1.4-150000.3.12.1 | Not reported | SUSE-SU-2023:0275-1 | Not reported |
| Suse | rubygem-activesupport-5_1 | rpm | linux enterprise high availability extension 15 sp4 | 5.1.4-150000.3.12.1 | Not reported | SUSE-SU-2023:0275-1 | Not reported |
| Opensuse | rubygem-activesupport-5_1 | rpm | leap 15.4 | 5.1.4-150000.3.12.1 | Not reported | SUSE-SU-2023:0275-1 | Not reported |
| Cpe | activesupport | cpe | Not reported | 7.0.4.1 | Not reported | NVD-CVE-2023-22796 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2023:4341]
- [https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_0275-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2023-22796]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-22796]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0275-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0612-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12767-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14071-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15114-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-22796]
- [https://security.netapp.com/advisory/ntap-20240202-0009/]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2101.json]
- [https://www.debian.org/security/2023/dsa-5372]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]