Laravelの数値検証で極端な指数の入力によりリソースを使い果たされる脆弱性
Summary
Laravelの数値検証ルールに、極端な指数を含む入力でメモリとCPUを大量に消費させられる脆弱性が見つかりました。12.74.0と13.44.1より前のバージョンが影響を受けます。修正版の12.74.0または13.44.1への更新で対処できます。対象は、上限のないフィールドに対してmultiple_ofやgt・gte・lt・lteのルールを使っているアプリケーションです。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Laravelの数値検証ルールに、極端な指数を含む入力でメモリとCPUを大量に消費させられる脆弱性が見つかりました。12.74.0と13.44.1より前のバージョンが影響を受けます。修正版の12.74.0または13.44.1への更新で対処できます。対象は、上限のないフィールドに対してmultiple_ofやgt・gte・lt・lteのルールを使っているアプリケーションです。
Original description The description as published by the source.
Laravel is a web application framework. Prior to 12.74.0 and 13.44.1, The multiple_of validation rule, and the gt, gte, lt and lte rules when they compare against another numeric field, expand numeric input using arbitrary-precision arithmetic without bounding its exponent. A request containing a very small or very large exponent value, such as one in scientific notation, can cause excessive memory and CPU use and may exhaust PHP's memory limit. Applications are affected when these rules are applied to an unbounded numeric field, with no preceding bounding rule such as min, max or between combined with bail. Comparisons against literal numbers, and the min, max, between and size rules, are not affected. This issue is fixed in versions 12.74.0 and 13.44.1.
Source: CVE.org (CVE Program・cvelistV5) NVD