CVE-2024-47888: Action Text has possible ReDoS vulnerability in plain_text_for_blockquote_node
Vulnerability summary
CVE-2024-47888 is a medium (CVSS 6.6) vulnerability in rails. EPSS estimates a 0.98% chance of exploitation in the next 30 days, higher than 62.3% of scored vulnerabilities.
Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 16-10-2024PublishedVulnerability first disclosed.
- 16-10-2024Last modifiedVulnerability information updated.
Description
Action Text brings rich text content and editing to Rails. Starting in version 6.0.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in the `plain_text_for_blockquote_node helper` in Action Text. Carefully crafted text can cause the `plain_text_for_blockquote_node` helper to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, or 7.2.1.1 or apply the relevant patch immediately. As a workaround, users can avoid calling `plain_text_for_blockquote_node` or upgrade to Ruby 3.2. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so is unaffected.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:UDiffers
- OSV · DebianEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XDiffers
- OSV · RubygemsEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:UDiffers
- NVDNIST6.6MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.98%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.98% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- rails< 2:6.1.7.10+dfsg-1~deb12u1 | < 2:7.2.2.1+dfsg-1
Opensuse1 product
- rubygem-actiontext-7.0&distro=openSUSE Tumbleweed< 7.0.8.6-1.1
Rails1 product
- rails≥ 6.0.0, < 6.1.7.9 | ≥ 7.0.0, < 7.0.8.5 | ≥ 7.1.0, < 7.1.4.1 | ≥ 7.2.0, < 7.2.1.1
RubyGems1 product
- actiontext≥ 6.0.0, < 6.1.7.9 | ≥ 7.0.0, < 7.0.8.5 | ≥ 7.1.0, < 7.1.4.1 | ≥ 7.2.0, < 7.2.1.1
Ubuntu1 product
- rails< 2:4.2.6-1ubuntu0.1~esm1 | < 2:4.2.10-0ubuntu4+esm1 | < 2:5.2.3+dfsg-3ubuntu0.1~esm1 | < 2:6.1.4.1+dfsg-8ubuntu2+esm1 | All versions (No fix recorded)
5 vendors · 5 products
References
13 links- lists.opensuse.org/archives/…Advisory