# CVE-2023-22796

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.1.7.1, 7.0.4.1 (CNA); fix release not confirmed
- Status: published
- Published: 2023-02-09 · Modified: 2024-11-27
- Aliases: SUSE-SU-2023:0275-1, SUSE-SU-2023:0612-1, UBUNTU-CVE-2023-22796, DEBIAN-CVE-2023-22796, openSUSE-SU-2024:12767-1, GHSA-j6gc-792m-qgm2, ALPINE-CVE-2023-22796
- Record: https://cvemate.com/vulnerability/CVE-2023-22796 · JSON: https://cvemate.com/vulnerability/CVE-2023-22796/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.759%, percentile 78.762%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- activesupport\_project activesupport: \< 6.1.7.1 \| ≥ 7.0.0, \< 7.0.4.1
- alpine ruby-activesupport (Alpine Linux): ≥ 7.0.0, \< 7.0.4.3-r0
- debian rails (Debian): \< 2:6.1.7.3+dfsg-1
- ubuntu rails (Ubuntu): All versions (No fix recorded)
- RubyGems activesupport (RubyGems): \< 6.1.7.1 \| ≥ 7.0.0, \< 7.0.4.1
- opensuse rubygem-activesupport-5\_1&distro=openSUSE Leap 15.4 (openSUSE): \< 5.1.4-150000.3.12.1
- opensuse rubygem-activesupport-7.0&distro=openSUSE Tumbleweed (openSUSE): \< 7.0.4.1-1.1
- suse rubygem-activesupport-4\_2&distro=SUSE OpenStack Cloud Crowbar 8 (SUSE Linux Enterprise): \< 4.2.9-7.15.1
- suse rubygem-activesupport-4\_2&distro=SUSE OpenStack Cloud Crowbar 9 (SUSE Linux Enterprise): \< 4.2.9-7.15.1
- suse rubygem-activesupport-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP1 (SUSE Linux Enterprise): \< 5.1.4-150000.3.12.1
- suse rubygem-activesupport-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2 (SUSE Linux Enterprise): \< 5.1.4-150000.3.12.1
- suse rubygem-activesupport-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3 (SUSE Linux Enterprise): \< 5.1.4-150000.3.12.1
- suse rubygem-activesupport-5\_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP4 (SUSE Linux Enterprise): \< 5.1.4-150000.3.12.1

## References

- <https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116>
- <https://www.debian.org/security/2023/dsa-5372>
- <https://security.netapp.com/advisory/ntap-20240202-0009/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230275-1/>
- <https://bugzilla.suse.com/1207454>
- <https://www.suse.com/security/cve/CVE-2023-22796>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20230612-1/>
- <https://ubuntu.com/security/CVE-2023-22796>
- <https://github.com/rails/rails/commit/4b383e6936d7a72b5dc839f526c9a9aeb280acae>
- <https://www.cve.org/CVERecord?id=CVE-2023-22796>
- <https://security-tracker.debian.org/tracker/CVE-2023-22796>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22796>
- <https://github.com/rails/rails/commit/2164d4f6a1bde74b911fe9ba3c8df1b5bf345bf8>
- <https://github.com/rails/rails/commit/a7cda7e6aa5334ab41b1f4b0f671be931be946ef>
- <https://github.com/rails/rails>
- <https://github.com/rails/rails/releases/tag/v6.1.7.1>
- <https://github.com/rails/rails/releases/tag/v7.0.4.1>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-22796.yml>
- <https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released>
- <https://security.alpinelinux.org/vuln/CVE-2023-22796>

---

Data as of 2026-12-05T11:22:02.294Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
