{"schemaVersion":3,"id":"CVE-2023-22796","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"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2023-02-09T00:00:00.000Z","modified":"2024-11-27T15:16:00.509Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01712,"percentile":0.77026,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01712},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01712,"percentile":0.77026}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01712,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01712,"percentile":0.77026}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"activesupport_project","product":"activesupport","name":"activesupport","label":"activesupport","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.7.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.7.1 | ≥ 7.0.0, < 7.0.4.1","eol":null,"hubHref":"/vendor/activesupport_project/activesupport"},{"vendor":"debian","product":"rails","name":"rails","label":"rails","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rails","purlType":"deb","versions":[{"text":"< 2:6.1.7.3+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:6.1.7.3+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rails","name":"rails","label":"rails","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rails","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"activesupport","name":"activesupport","label":"activesupport","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/activesupport","purlType":"gem","versions":[{"text":"< 6.1.7.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.7.1 | ≥ 7.0.0, < 7.0.4.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rubygem-activesupport-5_1&distro=openSUSE Leap 15.4","name":"rubygem-activesupport-5_1","label":"rubygem-activesupport-5_1&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rubygem-activesupport-5_1&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 5.1.4-150000.3.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-150000.3.12.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"rubygem-activesupport-7.0&distro=openSUSE Tumbleweed","name":"rubygem-activesupport-7.0","label":"rubygem-activesupport-7.0&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/rubygem-activesupport-7.0&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.0.4.1-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.4.1-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rubygem-activesupport-4_2&distro=SUSE OpenStack Cloud Crowbar 8","name":"rubygem-activesupport-4_2","label":"rubygem-activesupport-4_2&distro=SUSE OpenStack Cloud Crowbar 8","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rubygem-activesupport-4_2&distro=SUSE OpenStack Cloud Crowbar 8","purlType":"rpm","versions":[{"text":"< 4.2.9-7.15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.9-7.15.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rubygem-activesupport-4_2&distro=SUSE OpenStack Cloud Crowbar 9","name":"rubygem-activesupport-4_2","label":"rubygem-activesupport-4_2&distro=SUSE OpenStack Cloud Crowbar 9","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rubygem-activesupport-4_2&distro=SUSE OpenStack Cloud Crowbar 9","purlType":"rpm","versions":[{"text":"< 4.2.9-7.15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.9-7.15.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP1","name":"rubygem-activesupport-5_1","label":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP1","purlType":"rpm","versions":[{"text":"< 5.1.4-150000.3.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-150000.3.12.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2","name":"rubygem-activesupport-5_1","label":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2","purlType":"rpm","versions":[{"text":"< 5.1.4-150000.3.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-150000.3.12.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3","name":"rubygem-activesupport-5_1","label":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3","purlType":"rpm","versions":[{"text":"< 5.1.4-150000.3.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-150000.3.12.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP4","name":"rubygem-activesupport-5_1","label":"rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/rubygem-activesupport-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP4","purlType":"rpm","versions":[{"text":"< 5.1.4-150000.3.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.4-150000.3.12.1","eol":null,"hubHref":null}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2023-22796-possible-redos-based-dos-vulnerability-in-active-supports-underscore/82116","label":"discuss.rubyonrails.org/t/…","hostname":"discuss.rubyonrails.org","tags":["REPORT","WEB","Patch","Vendor Advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5372","label":"www.debian.org/security/2023/dsa-5372","hostname":"www.debian.org","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0009/","label":"security.netapp.com/advisory/ntap-20240202-0009/","hostname":"security.netapp.com","tags":[]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20230275-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20230275-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1207454","label":"bugzilla.suse.com/1207454","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2023-22796","label":"www.suse.com/security/cve/CVE-2023-22796","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20230612-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20230612-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-22796","label":"ubuntu.com/security/CVE-2023-22796","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/rails/rails/commit/4b383e6936d7a72b5dc839f526c9a9aeb280acae","label":"github.com/rails/rails/commit/4b383e6936d7a72b5dc839f526c9a9aeb280acae","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22796","label":"www.cve.org/CVERecord?id=CVE-2023-22796","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-22796","label":"security-tracker.debian.org/tracker/CVE-2023-22796","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22796","label":"nvd.nist.gov/vuln/detail/CVE-2023-22796","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rails/rails/commit/2164d4f6a1bde74b911fe9ba3c8df1b5bf345bf8","label":"github.com/rails/rails/commit/2164d4f6a1bde74b911fe9ba3c8df1b5bf345bf8","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rails/rails/commit/a7cda7e6aa5334ab41b1f4b0f671be931be946ef","label":"github.com/rails/rails/commit/a7cda7e6aa5334ab41b1f4b0f671be931be946ef","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rails/rails","label":"github.com/rails/rails","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rails/rails/releases/tag/v6.1.7.1","label":"github.com/rails/rails/releases/tag/v6.1.7.1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rails/rails/releases/tag/v7.0.4.1","label":"github.com/rails/rails/releases/tag/v7.0.4.1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-22796.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-22796.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released","label":"rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released","hostname":"rubyonrails.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DSA-5372-1","OPENSUSE-SU-2024:14071-1","OPENSUSE-SU-2025:15114-1","RHSA-2023:6818"],"duplicates":[],"related":["OPENSUSE-SU-2024:14071-1","OPENSUSE-SU-2025:15114-1"]},"timeline":[{"kind":"published","date":"2023-02-09T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-27T15:16:00.509Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:12:33.911Z","stale":false,"partial":false}}