CVE-2024-47889: Action Mailer has possible ReDoS vulnerability in block_format
Vulnerability summary
CVE-2024-47889 is a medium (CVSS 6.6) vulnerability in rails. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 60.9% 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 5 · Related 3Timeline
- 16-10-2024PublishedVulnerability first disclosed.
- 17-10-2024Last modifiedVulnerability information updated.
Description
Action Mailer is a framework for designing email service layers. Starting in version 3.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 block_format helper in Action Mailer. Carefully crafted text can cause the block_format 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 the `block_format` helper 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 requires 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.94%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.94% 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.
Suse4 products
- rubygem-actionmailer-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP2< 5.1.4-150000.3.3.1
- rubygem-actionmailer-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP3< 5.1.4-150000.3.3.1
- rubygem-actionmailer-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP4< 5.1.4-150000.3.3.1
- rubygem-actionmailer-5_1&distro=SUSE Linux Enterprise High Availability Extension 15 SP5< 5.1.4-150000.3.3.1
Debian1 product
- rails< 2:6.1.7.10+dfsg-1~deb12u1 | < 2:7.2.2.1+dfsg-1
Opensuse1 product
- rubygem-actionmailer-7.0&distro=openSUSE Tumbleweed< 7.0.8.6-1.1 | < 7.0.8.6-1.3
Rails1 product
- rails≥ 3.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
- actionmailer≥ 3.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)
6 vendors · 9 products
References
16 linksShow all 16 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- github.com/rails/railsPACKAGE