CVE-2024-47889
published 2024-10-16CVE-2024-47889: 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…
PriorityP337medium6.6CVSS 4.0
AVNACLATNPRNUINVCNVINVAHSCNSINSANEUCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.94%
57.2th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rails | < rails 2:6.1.7.10+dfsg-1~deb12u1 (bookworm) | rails 2:6.1.7.10+dfsg-1~deb12u1 (bookworm) |
| rails | rails | — | — |
| rails | rails | — | — |
| rails | rails | — | — |
| rails | rails | — | — |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-2+deb11u3 | 2:6.0.3.7+dfsg-2+deb11u3 |
| rubyonrails | rails | >= 0 < 2:6.1.7.10+dfsg-1~deb12u1 | 2:6.1.7.10+dfsg-1~deb12u1 |
| rubyonrails | rails | >= 0 < 2:7.2.2.1+dfsg-1 | 2:7.2.2.1+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:7.2.2.1+dfsg-1 | 2:7.2.2.1+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:4.2.6-1ubuntu0.1~esm1 | 2:4.2.6-1ubuntu0.1~esm1 |
| rubyonrails | rails | >= 0 < 2:4.2.10-0ubuntu4+esm1 | 2:4.2.10-0ubuntu4+esm1 |
| rubyonrails | rails | >= 0 < 2:5.2.3+dfsg-3ubuntu0.1~esm1 | 2:5.2.3+dfsg-3ubuntu0.1~esm1 |
| rubyonrails | rails | >= 0 < 2:6.1.4.1+dfsg-8ubuntu2+esm1 | 2:6.1.4.1+dfsg-8ubuntu2+esm1 |
CVSS provenance
nvdv4.06.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
ghsa6.6MEDIUM
osv6.6MEDIUM
vendor_debian6.6MEDIUM
vendor_redhat6.6MEDIUM
vendor_ubuntu6.6MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
rails vulnerabilities
osv·2025-02-25·CVSS 6.6
CVE-2024-47889 [MEDIUM] rails vulnerabilities
rails vulnerabilities
It was discovered that Rails did not correctly handle parsing block
formats in email service layers. An attacker could possibly use this
issue to cause a denial of service. (CVE-2024-47889)
It was discovered that Rails did not correctly handle parsing block
quotes in rich text content. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 22.04 LTS.
(CVE-2024-47888)
It was discovered that Rails did not correctly handle parsing HTTP
token authentication headers. An attacker could possibly use this
issue to cause a denial of service. (CVE-2024-47887)
It was discovered that Rails did not correctly handle parsing query
parameters in web requests. An attacker could possibly use this issue
to cause a denial of service. (
OSV
CVE-2024-47889: Action Mailer is a framework for designing email service layers
osv·2024-10-16·CVSS 6.6
CVE-2024-47889 [MEDIUM] CVE-2024-47889: Action Mailer is a framework for designing email service layers
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.
GHSA
Possible ReDoS vulnerability in block_format in Action Mailer
ghsa·2024-10-15·CVSS 6.6
CVE-2024-47889 [MEDIUM] CWE-1333 Possible ReDoS vulnerability in block_format in Action Mailer
Possible ReDoS vulnerability in block_format in Action Mailer
There is a possible ReDoS vulnerability in the block_format helper in Action Mailer. This vulnerability has been assigned the CVE identifier CVE-2024-47889.
Impact
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 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 requires Ruby 3.2 or greater so is unaffected.
Releases
The fixed releases are available at the normal locations.
Workarounds
Users can avoid calling the `block_format` helper or upgrade to Ruby 3.2
Credi
OSV
Possible ReDoS vulnerability in block_format in Action Mailer
osv·2024-10-15·CVSS 6.6
CVE-2024-47889 [MEDIUM] Possible ReDoS vulnerability in block_format in Action Mailer
Possible ReDoS vulnerability in block_format in Action Mailer
There is a possible ReDoS vulnerability in the block_format helper in Action Mailer. This vulnerability has been assigned the CVE identifier CVE-2024-47889.
Impact
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 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 requires Ruby 3.2 or greater so is unaffected.
Releases
The fixed releases are available at the normal locations.
Workarounds
Users can avoid calling the `block_format` helper or upgrade to Ruby 3.2
Credi
Ubuntu
Rails vulnerabilities
vendor_ubuntu·2025-02-25·CVSS 6.6
CVE-2024-47887 [MEDIUM] Rails vulnerabilities
Title: Rails vulnerabilities
Summary: Several security issues were fixed in Rails.
It was discovered that Rails did not correctly handle parsing block
formats in email service layers. An attacker could possibly use this
issue to cause a denial of service. (CVE-2024-47889)
It was discovered that Rails did not correctly handle parsing block
quotes in rich text content. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 22.04 LTS.
(CVE-2024-47888)
It was discovered that Rails did not correctly handle parsing HTTP
token authentication headers. An attacker could possibly use this
issue to cause a denial of service. (CVE-2024-47887)
It was discovered that Rails did not correctly handle parsing query
parameters in web requests. An attacker
Red Hat
rubygem-actionmailer: Possible ReDoS vulnerability in block_format in Action Mailer
vendor_redhat·2024-10-15·CVSS 6.6
CVE-2024-47889 [MEDIUM] CWE-1337 rubygem-actionmailer: Possible ReDoS vulnerability in block_format in Action Mailer
rubygem-actionmailer: Possible ReDoS vulnerability in block_format in Action Mailer
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 unaf
Debian
CVE-2024-47889: rails - Action Mailer is a framework for designing email service layers. Starting in ver...
vendor_debian·2024·CVSS 6.6
CVE-2024-47889 [MEDIUM] CVE-2024-47889: rails - Action Mailer is a framework for designing email service layers. Starting in ver...
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.
Scope: local
No detection rules found.
No public exploits indexed.
https://github.com/rails/rails/commit/0e5694f4d32544532d2301a9b4084eacb6986e94https://github.com/rails/rails/commit/3612e3eb3fbafed4f85e1c6ea4c7b6addbb0fdd3https://github.com/rails/rails/commit/985f1923fa62806ff676e41de67c3b4552131ab9https://github.com/rails/rails/commit/be898cc996986decfe238341d96b2a6573b8fd2ehttps://github.com/rails/rails/security/advisories/GHSA-h47h-mwp9-c6q6
2024-10-16
Published