Apache Struts 2 Core BigDecimal сан тегін көрсетуде қызмет көрсетуден бас тарту
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.