Vulnerability record
Hono 4.12.16 before 4.13.18 Memory Exhaustion via bodyLimit() Middleware
Hono from 4.12.16 before 4.13.18 contains a memory exhaustion vulnerability in the bodyLimit() middleware that retains every transfer chunk as a separate array. Unauthenticated attackers can send a within-limit request body in one-byte chunks to create millions of retained objects, terminating Bun or Node.js processes.
6.9/CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitability
AV:NAC:LAT:NPR:NUI:NImpact
VC:NVI:NVA:LSC:NSI:NSA:NRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources