Отказ в обслуживании при отрисовке тега числа BigDecimal в Apache Struts 2 Core
Apache Struts 2 Core
Кратко
Apache Struts подвержен уязвимости, когда параметр запроса привязывается к свойству BigDecimal, а затем отображается с помощью тега number или передаётся в локализованное сообщение, включая сообщение об ошибке валидатора. Удалённый злоумышленник без аутентификации может отправить специально сформированные данные, которые заставят сервер создать строку, значительно превышающую размер запроса, что приведёт к исчерпанию ресурсов процессора и памяти.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправленная версия не указана.
Затронутые версии
| org.apache.struts:struts2-coreMaven | с 2.5.12 до 2.5.33 с 6.0.0 до 6.12.0 с 7.0.0 до 7.4.0 |
Оригинальное описание (EN)
Оригинальный заголовок: Apache Struts 2 Core denial of service in BigDecimal number tag rendering
Asymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered through the number tag, or passed as an argument into a localized message, including the error message of a validator that rejects the value, the framework can build a string many orders of magnitude larger than the request that produced it. The string is built on the server whether or not it is sent to the client, allowing an unauthenticated remote attacker to exhaust server CPU and memory. Applications that do not bind request parameters to BigDecimal properties, or that neither render them with the number tag nor pass them into localized messages, are not affected. Properties of other numeric types are not affected. This issue affects Apache Struts: from 2.5.12 through 2.5.33, from 6.0.0 through 6.12.0, from 7.0.0 through 7.4.0. Users are recommended to upgrade to version 6.13.0 or 7.5.0, which fixes the issue.