CVE-2024-47889
CVE-2024-47889 — Action Mailer has possible ReDoS vulnerability in block_format
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.6
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (2)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.6 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-1333
References
5 on the record
- github.com/rails/rails/security/advisories/GHSA-h47h-mwp9-c6q6
x_refsource_CONFIRM
- github.com/rails/rails/commit/0e5694f4d32544532d2301a9b4084eacb6986e94
x_refsource_MISC
- github.com/rails/rails/commit/3612e3eb3fbafed4f85e1c6ea4c7b6addbb0fdd3
x_refsource_MISC
- github.com/rails/rails/commit/985f1923fa62806ff676e41de67c3b4552131ab9
x_refsource_MISC
- github.com/rails/rails/commit/be898cc996986decfe238341d96b2a6573b8fd2e
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2016-0752 Ruby on Rails Directory Traversal VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2014-0130 Ruby on Rails Directory Traversal VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-66066 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processingCVSS 9.5
- CVE-2026-126068 Action Mailbox: Possible signature replay in Action Mailbox Mailgun ingressCVSS 3.7
- CVE-2026-73556 vLLM: ReDoS via structured_outputs.regex in the lm-format-enforcer backend (no compile timeout) — missed sibling of CVE-2026-55574CVSS 5.3
Elsewhere on this site
- Railsevery CVE for this vendor
- Rubyonrailsevery CVE for this vendor
- CWE-1333other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.