Loading...
Skip to main content

CVE-2024-47888 — Possible ReDoS vulnerability in actiontext — CVE...

MEDIUM

Possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text

Published October 15, 2024Updated December 2, 2024Source: osv

Summary

There is a possible ReDoS vulnerability in the plain_text_for_blockquote_node helper in Action Text. This vulnerability has been assigned the CVE identifier CVE-2024-47888. Impact ------ 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 or apply the relevant patch immediately. 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. Releases -------- The fixed releases are available at the normal locations. Workarounds ----------- Users can avoid calling `plain_text_for_blockquote_node` or upgrade to Ruby 3.2 Credits ------- Thanks to [ooooooo_q](https://hackerone.com/ooooooo_q) for the report!

Advisory Timeline

  • First published October 15, 2024 (726 days ago).
  • Last revised December 2, 2024 — 48 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update actiontext to 7.0.8.5 or later
gem install actiontext -v 7.0.8.5
Bundler
Update actiontext to 7.1.4.1 or later
gem install actiontext -v 7.1.4.1
Bundler
Update actiontext to 7.2.1.1 or later
gem install actiontext -v 7.2.1.1
Bundler
Update actiontext to 6.1.7.9 or later
gem install actiontext -v 6.1.7.9

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
actiontext
rubygems
7.0.0, 7.0.1, 7.0.2, 7.0.2.1 (+20 more)7.0.8.5
actiontext
rubygems
7.1.0, 7.1.1, 7.1.2, 7.1.3 (+5 more)7.1.4.1
actiontext
rubygems
7.2.0, 7.2.17.2.1.1
actiontext
rubygems
6.0.0, 6.0.1, 6.0.1.rc1, 6.0.2 (+56 more)6.1.7.9

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2024-47888?
Possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2024-47888?
CVE-2024-47888 affects actiontext. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-47888 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-wwhv-wxv9-rpgw
BIT-rails-2024-47888

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies