NCalcに細工した式でCPUを枯渇させられる脆弱性
Summary
NCalcのMathHelper.Powに上限のない指数を含む式を送られると、サーバーのCPUとワーカースレッドが長時間占有され、サービスが止まるおそれがあります。影響を受けるのは7.5.0より前のNCalcで、修正版の7.5.0が公開されています。7.5.0以降へのアップデートを優先して進めてください。
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.
NCalcのMathHelper.Powに上限のない指数を含む式を送られると、サーバーのCPUとワーカースレッドが長時間占有され、サービスが止まるおそれがあります。影響を受けるのは7.5.0より前のNCalcで、修正版の7.5.0が公開されています。7.5.0以降へのアップデートを優先して進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ncalcNCalc |
< 7.5.0→ 7.5.0 |
7.5.0 |
Original description The description as published by the source.
NCalc before 7.5.0 contains an uncontrolled resource consumption vulnerability in MathHelper.Pow that allows attackers to exhaust CPU by supplying uncapped exponents with decimal operands. Attackers can submit expressions like Pow with a decimal base and huge exponent to hold server threads for seconds to hours, exhausting CPU and worker threads.
Source: CVE.org (CVE Program・cvelistV5) NVD