Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Support number helpers accept strings containing scientific notation (e.g. 1e10000), which BigDecimal expands into extremely large decimal representations. This can cause excessive memory allocation and CPU consumption when the expanded number is formatted, possibly resulting in a DoS vulnerability. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
The product does not properly control the allocation and maintenance of a limited resource.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Rails | Rubyonrails | * | 7.2.3.1 (excluding) |
| Rails | Rubyonrails | 8.0.0 (including) | 8.0.4.1 (excluding) |
| Rails | Rubyonrails | 8.1.0 (including) | 8.1.2.1 (excluding) |
| Red Hat Satellite 6.16 for RHEL 8 | RedHat | rubygem-activesupport-0:6.1.7.8-2.el8sat | * |
| Red Hat Satellite 6.16 for RHEL 8 | RedHat | rubygem-activesupport-0:6.1.7.8-2.el8sat | * |
| Red Hat Satellite 6.16 for RHEL 9 | RedHat | rubygem-activesupport-0:6.1.7.8-2.el9sat | * |
| Red Hat Satellite 6.16 for RHEL 9 | RedHat | rubygem-activesupport-0:6.1.7.8-2.el9sat | * |
| Red Hat Satellite 6.17 for RHEL 9 | RedHat | rubygem-activesupport-0:7.0.8.7-2.el9sat | * |
| Red Hat Satellite 6.17 for RHEL 9 | RedHat | rubygem-activesupport-0:7.0.8.7-2.el9sat | * |
| Red Hat Satellite 6.18 for RHEL 9 | RedHat | rubygem-activesupport-0:7.0.8.7-2.el9sat | * |
| Red Hat Satellite 6.18 for RHEL 9 | RedHat | rubygem-activesupport-0:7.0.8.7-2.el9sat | * |
| Rails | Ubuntu | esm-apps/xenial | * |
| Rails | Ubuntu | questing | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.