Skip to content

CVE-2024-47888 Action Text has possible ReDoS vulnerability in plain_text_for_blockquote_node

MediumCVSS 6.6 EPSS 0.98% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 6 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/rails(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/rails(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/rails(Ubuntu 26.10) All versions No fix listed No fix yet
debian/rails(Debian 12) < 2:6.1.7.10+dfsg-1~deb12u1; = 2:6.1.7.3+dfsg-1; = 2:6.1.7.3+dfsg-2; = 2:6.1.7.3+dfsg-2~deb12u1 +12 more 2:6.1.7.10+dfsg-1~deb12u1 Fixed
debian/rails(Debian 13) < 2:7.2.2.1+dfsg-1 2:7.2.2.1+dfsg-1 Fixed
debian/rails(Debian 14) < 2:7.2.2.1+dfsg-1 2:7.2.2.1+dfsg-1 Fixed
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 +4 more 6.1.7.9, 7.0.8.5, 7.1.4.1, 7.2.1.1 Fixed
rubygems actiontext(RubyGems) = 6.0.0; = 6.0.1; = 6.0.1.rc1; = 6.0.2 +95 more 6.1.7.9, 7.0.8.5, 7.1.4.1, 7.2.1.1 Fixed
ubuntu/rails(Ubuntu 22.04) < 2:6.1.4.1+dfsg-8ubuntu2+esm1 2:6.1.4.1+dfsg-8ubuntu2+esm1 Fixed

Affected products

ProductAffected versionsFixed in
rubygems actiontext(RubyGems) >= 6.0.0, < 6.1.7.9 6.1.7.9
rubygems actiontext(RubyGems) = 6.0.0 No fix listed
rubygems actiontext(RubyGems) = 6.0.1 No fix listed
rubygems actiontext(RubyGems) = 6.0.1.rc1 No fix listed
rubygems actiontext(RubyGems) = 6.0.2 No fix listed
rubygems actiontext(RubyGems) = 6.0.2.1 No fix listed
rubygems actiontext(RubyGems) = 6.0.2.2 No fix listed
rubygems actiontext(RubyGems) = 6.0.2.rc1 No fix listed
rubygems actiontext(RubyGems) = 6.0.2.rc2 No fix listed
rubygems actiontext(RubyGems) = 6.0.3 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.1 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.2 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.3 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.4 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.5 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.6 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.7 No fix listed
rubygems actiontext(RubyGems) = 6.0.3.rc1 No fix listed
rubygems actiontext(RubyGems) = 6.0.4 No fix listed
rubygems actiontext(RubyGems) = 6.0.4.1 No fix listed
rubygems actiontext(RubyGems) = 6.0.4.2 No fix listed
rubygems actiontext(RubyGems) = 6.0.4.3 No fix listed
rubygems actiontext(RubyGems) = 6.0.4.4 No fix listed
rubygems actiontext(RubyGems) = 6.0.4.5 No fix listed
rubygems actiontext(RubyGems) = 6.0.4.6 No fix listed
Show 104 more
ProductAffected versionsFixed in
rubygems actiontext(RubyGems) = 6.0.4.7 No fix listed
rubygems actiontext(RubyGems) = 6.0.4.8 No fix listed
rubygems actiontext(RubyGems) = 6.0.5 No fix listed
rubygems actiontext(RubyGems) = 6.0.5.1 No fix listed
rubygems actiontext(RubyGems) = 6.0.6 No fix listed
rubygems actiontext(RubyGems) = 6.0.6.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.0 No fix listed
rubygems actiontext(RubyGems) = 6.1.0.rc1 No fix listed
rubygems actiontext(RubyGems) = 6.1.0.rc2 No fix listed
rubygems actiontext(RubyGems) = 6.1.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.2 No fix listed
rubygems actiontext(RubyGems) = 6.1.2.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.3 No fix listed
rubygems actiontext(RubyGems) = 6.1.3.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.3.2 No fix listed
rubygems actiontext(RubyGems) = 6.1.4 No fix listed
rubygems actiontext(RubyGems) = 6.1.4.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.4.2 No fix listed
rubygems actiontext(RubyGems) = 6.1.4.3 No fix listed
rubygems actiontext(RubyGems) = 6.1.4.4 No fix listed
rubygems actiontext(RubyGems) = 6.1.4.5 No fix listed
rubygems actiontext(RubyGems) = 6.1.4.6 No fix listed
rubygems actiontext(RubyGems) = 6.1.4.7 No fix listed
rubygems actiontext(RubyGems) = 6.1.5 No fix listed
rubygems actiontext(RubyGems) = 6.1.5.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.6 No fix listed
rubygems actiontext(RubyGems) = 6.1.6.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.7 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.1 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.2 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.3 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.4 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.5 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.6 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.7 No fix listed
rubygems actiontext(RubyGems) = 6.1.7.8 No fix listed
rubygems actiontext(RubyGems) >= 7.0.0, < 7.0.8.5 7.0.8.5
rubygems actiontext(RubyGems) = 7.0.0 No fix listed
rubygems actiontext(RubyGems) = 7.0.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.3 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.4 No fix listed
rubygems actiontext(RubyGems) = 7.0.3 No fix listed
rubygems actiontext(RubyGems) = 7.0.3.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.4 No fix listed
rubygems actiontext(RubyGems) = 7.0.4.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.4.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.4.3 No fix listed
rubygems actiontext(RubyGems) = 7.0.5 No fix listed
rubygems actiontext(RubyGems) = 7.0.5.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.6 No fix listed
rubygems actiontext(RubyGems) = 7.0.7 No fix listed
rubygems actiontext(RubyGems) = 7.0.7.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.7.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.8 No fix listed
rubygems actiontext(RubyGems) = 7.0.8.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.8.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.8.3 No fix listed
rubygems actiontext(RubyGems) = 7.0.8.4 No fix listed
rubygems actiontext(RubyGems) >= 7.1.0, < 7.1.4.1 7.1.4.1
rubygems actiontext(RubyGems) = 7.1.0 No fix listed
rubygems actiontext(RubyGems) = 7.1.1 No fix listed
rubygems actiontext(RubyGems) = 7.1.2 No fix listed
rubygems actiontext(RubyGems) = 7.1.3 No fix listed
rubygems actiontext(RubyGems) = 7.1.3.1 No fix listed
rubygems actiontext(RubyGems) = 7.1.3.2 No fix listed
rubygems actiontext(RubyGems) = 7.1.3.3 No fix listed
rubygems actiontext(RubyGems) = 7.1.3.4 No fix listed
rubygems actiontext(RubyGems) = 7.1.4 No fix listed
rubygems actiontext(RubyGems) >= 7.2.0, < 7.2.1.1 7.2.1.1
rubygems actiontext(RubyGems) = 7.2.0 No fix listed
rubygems actiontext(RubyGems) = 7.2.1 No fix listed
debian/rails(Debian:12) < 2:6.1.7.10+dfsg-1~deb12u1 2:6.1.7.10+dfsg-1~deb12u1
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-1 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-10 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-11 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-12 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-13 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-2 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-2~deb12u1 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-3 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-4 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-5 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-6 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-7 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-7~exp1 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-8 No fix listed
debian/rails(Debian:12) = 2:6.1.7.3+dfsg-9 No fix listed
debian/rails(Debian:13) < 2:7.2.2.1+dfsg-1 2:7.2.2.1+dfsg-1
debian/rails(Debian:14) < 2:7.2.2.1+dfsg-1 2:7.2.2.1+dfsg-1
ubuntu/rails(Ubuntu:22.04) < 2:6.1.4.1+dfsg-8ubuntu2+esm1 2:6.1.4.1+dfsg-8ubuntu2+esm1
rails = >= 6.0.0, < 6.1.7.9 No fix listed
rails = >= 7.0.0, < 7.0.8.5 No fix listed
rails = >= 7.1.0, < 7.1.4.1 No fix listed
rails = >= 7.2.0, < 7.2.1.1 No fix listed
rails >= 6.0.0, < 6.1.7.9 6.1.7.9
rails >= 7.0.0, < 7.0.8.5 7.0.8.5
rails >= 7.1.0, < 7.1.4.1 7.1.4.1
rails >= 7.2.0, < 7.2.1.1 7.2.1.1
ubuntu/rails(Ubuntu:24.04) All versions No fix listed
ubuntu/rails(Ubuntu:26.04) All versions No fix listed
ubuntu/rails(Ubuntu:26.10) All versions No fix listed

References