Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-54404— Zod 4.6.5 Uncontrolled Resource Consumption via Array Validation

Quick assessment

Affected
colinhacks zod
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Zod 模式验证库(版本 4.6.5 及之前)存在一个不受控的资源消耗漏洞。攻击者可以通过向使用未设置长度约束的数组模式(array schema)的应用程序提交一个大型数组,从而耗尽系统内存。该漏洞源于 中的 解析逻辑:该逻辑会为每个验证失败的元素累积所有验证问题,且没有设置上限或提前终止机制。这会导致进程分配过多的“问题对象”(issue objects),最终因内存溢出(out-of-memory)而崩溃。

CVSS 7.5 · High

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-54404

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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.

Vulnerability Title
Zod 4.6.5 Uncontrolled Resource Consumption via Array Validation
Source: CVE Program / CVE List V5
Vulnerability Description
Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust memory by submitting a large array to an application using an array schema without a length constraint. Attackers can exploit the handleArrayResult parse logic in $ZodArray, which accumulates every validation issue for each failing element with no cap or early termination, causing the process to allocate excessive issue objects and crash due to out-of-memory conditions.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
不加限制或调节的资源分配
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
colinhacks zod 0 ~ 4.6.5 -

II. Public POCs for CVE-2023-54404

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-54404

请登录查看更多情报信息。

Other References for CVE-2023-54404 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2023-54404

No comments yet


Leave a comment