GHSA-wwhv-wxv9-rpgw

Suggest an improvement
Source
https://github.com/advisories/GHSA-wwhv-wxv9-rpgw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-wwhv-wxv9-rpgw/GHSA-wwhv-wxv9-rpgw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wwhv-wxv9-rpgw
Aliases
Published
2024-10-15T23:35:36Z
Modified
2024-10-31T19:49:48.217802Z
Severity
  • 6.6 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text
Details

There is a possible ReDoS vulnerability in the plaintextforblockquotenode helper in Action Text. This vulnerability has been assigned the CVE identifier CVE-2024-47888.

Impact

Carefully crafted text can cause the plaintextforblockquotenode 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 for the report!

References

Affected packages

RubyGems / actiontext

Package

Name
actiontext
Purl
pkg:gem/actiontext

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.7.9

Affected versions

6.*

6.0.0
6.0.1.rc1
6.0.1
6.0.2.rc1
6.0.2.rc2
6.0.2
6.0.2.1
6.0.2.2
6.0.3.rc1
6.0.3
6.0.3.1
6.0.3.2
6.0.3.3
6.0.3.4
6.0.3.5
6.0.3.6
6.0.3.7
6.0.4
6.0.4.1
6.0.4.2
6.0.4.3
6.0.4.4
6.0.4.5
6.0.4.6
6.0.4.7
6.0.4.8
6.0.5
6.0.5.1
6.0.6
6.0.6.1
6.1.0.rc1
6.1.0.rc2
6.1.0
6.1.1
6.1.2
6.1.2.1
6.1.3
6.1.3.1
6.1.3.2
6.1.4
6.1.4.1
6.1.4.2
6.1.4.3
6.1.4.4
6.1.4.5
6.1.4.6
6.1.4.7
6.1.5
6.1.5.1
6.1.6
6.1.6.1
6.1.7
6.1.7.1
6.1.7.2
6.1.7.3
6.1.7.4
6.1.7.5
6.1.7.6
6.1.7.7
6.1.7.8

RubyGems / actiontext

Package

Name
actiontext
Purl
pkg:gem/actiontext

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.0.8.5

Affected versions

7.*

7.0.0
7.0.1
7.0.2
7.0.2.1
7.0.2.2
7.0.2.3
7.0.2.4
7.0.3
7.0.3.1
7.0.4
7.0.4.1
7.0.4.2
7.0.4.3
7.0.5
7.0.5.1
7.0.6
7.0.7
7.0.7.1
7.0.7.2
7.0.8
7.0.8.1
7.0.8.2
7.0.8.3
7.0.8.4

RubyGems / actiontext

Package

Name
actiontext
Purl
pkg:gem/actiontext

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.1.4.1

Affected versions

7.*

7.1.0
7.1.1
7.1.2
7.1.3
7.1.3.1
7.1.3.2
7.1.3.3
7.1.3.4
7.1.4

RubyGems / actiontext

Package

Name
actiontext
Purl
pkg:gem/actiontext

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.2.0
Fixed
7.2.1.1

Affected versions

7.*

7.2.0
7.2.1