Crow で深くネストされた JSON によりサーバーが停止するおそれ
Summary
Crow の 1.3.4 より前のバージョンでは、crow::json::load() の再帰処理に制限がないため、認証なしの遠隔の攻撃者が深くネストされた JSON を送信し、サーバーを停止させるおそれがあります。修正版として 1.3.4 が公開されていますので、1.3.4 以降へ更新してください。
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.
Crow の 1.3.4 より前のバージョンでは、crow::json::load() の再帰処理に制限がないため、認証なしの遠隔の攻撃者が深くネストされた JSON を送信し、サーバーを停止させるおそれがあります。修正版として 1.3.4 が公開されていますので、1.3.4 以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CrowCppCrow |
< 1.3.4→ 1.3.4 |
1.3.4 |
Original description The description as published by the source.
Crow before 1.3.4 contains an uncontrolled recursion vulnerability in crow::json::load() that allows remote unauthenticated attackers to crash the server by sending deeply nested JSON. Attackers can send a request body with thousands of nested objects to exhaust the worker thread stack, terminating the process and dropping all connections.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com