Zod 模式验证库(版本 4.6.5 及之前)存在一个不受控的资源消耗漏洞。攻击者可以通过向使用未设置长度约束的数组模式(array schema)的应用程序提交一个大型数组,从而耗尽系统内存。该漏洞源于 中的 解析逻辑:该逻辑会为每个验证失败的元素累积所有验证问题,且没有设置上限或提前终止机制。这会导致进程分配过多的“问题对象”(issue objects),最终因内存溢出(out-of-memory)而崩溃。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| colinhacks | zod | 0 ~ 4.6.5 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet