Описание
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.
A flaw was found in Active Support, a toolkit of support libraries for Ruby on Rails. A remote attacker can exploit this vulnerability by providing specially crafted strings containing scientific notation (e.g., "1e10000") to number helpers. This input causes the BigDecimal component to expand into extremely large decimal representations, consuming excessive memory and CPU resources. This can lead to a Denial of Service (DoS) vulnerability, making the affected system unavailable.
Отчет
This flaw is rated as Moderate by Red Hat. Successful exploitation of this vulnerability requires an attacker to reach the vulnerable code path within the Active Support library as used by the hosting application. Because this functionality is not typically exposed directly to unauthenticated users, an attacker would generally need at least low-privileged (authenticated) access to the application to trigger the issue.
Меры по смягчению последствий
To mitigate this issue, applications that use Active Support number helpers to process untrusted input should implement strict input validation. This involves sanitizing or restricting the format and length of numerical strings before they are passed to Active Support, thereby preventing the BigDecimal component from expanding into extremely large decimal representations and consuming excessive resources.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Satellite 6 | satellite:el8/rubygem-activesupport | Affected | ||
| Red Hat Satellite 6.16 for RHEL 8 | rubygem-activesupport | Fixed | RHSA-2026:14874 | 07.05.2026 |
| Red Hat Satellite 6.16 for RHEL 8 | rubygem-activesupport | Fixed | RHSA-2026:14874 | 07.05.2026 |
| Red Hat Satellite 6.16 for RHEL 9 | rubygem-activesupport | Fixed | RHSA-2026:14874 | 07.05.2026 |
| Red Hat Satellite 6.16 for RHEL 9 | rubygem-activesupport | Fixed | RHSA-2026:14874 | 07.05.2026 |
| Red Hat Satellite 6.17 for RHEL 9 | rubygem-activesupport | Fixed | RHSA-2026:14873 | 07.05.2026 |
| Red Hat Satellite 6.17 for RHEL 9 | rubygem-activesupport | Fixed | RHSA-2026:14873 | 07.05.2026 |
| Red Hat Satellite 6.18 for RHEL 9 | rubygem-activesupport | Fixed | RHSA-2026:14835 | 07.05.2026 |
| Red Hat Satellite 6.18 for RHEL 9 | rubygem-activesupport | Fixed | RHSA-2026:14835 | 07.05.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
6.5 Medium
CVSS3
Связанные уязвимости
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.
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.
Active Support is a toolkit of support libraries and Ruby core extensi ...
Rails Active Support has a possible DoS vulnerability in its number helpers
Уязвимость компонента activesupport программной платформы Ruby on Rails, позволяющая нарушителю вызвать отказ в обслуживании
EPSS
6.5 Medium
CVSS3