CVE-2024-47888

Action Text has possible ReDoS vulnerability in plain_text_for_blockquote_node

Published Oct 16, 2024 CVSS 4.0 · 6.6 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4383-1 rails security update
Debian DSA Debian DSA DSA-5881-1 rails security update
EUVD EUVD EUVD-2024-3158 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.
Github GHSA Github GHSA GHSA-wwhv-wxv9-rpgw Possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text
Ubuntu USN Ubuntu USN USN-7290-1 Rails vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00264}

epss

{'score': 0.0035}

Type Values Removed Values Added
First Time appeared Rails
Rails rails
CPEs cpe:2.3:a:rails:rails:*:*:*:*:*:*:*:*
Vendors & Products Rails
Rails rails
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-770 CWE-1333
Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title rubygem-actiontext: Possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text Action Text has possible ReDoS vulnerability in plain_text_for_blockquote_node
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 6.6, 'vector': 'CVSS: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'}

Type Values Removed Values Added
Description No description is available for this CVE.
Title rubygem-actiontext: Possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text
Weaknesses CWE-1337
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 16, 2024, 8:52 PM
Reserved
Oct 4, 2024, 4:00 PM
Status
Deferred
Published
Oct 16, 2024, 9:15 PM
Modified
Jun 17, 2026, 7:57 AM
Severity
Low
Public date
Oct 15, 2024, 11:35 PM