SiteShadow
Back to vulnerability library

CWE-419 Uncontrolled Resource Consumption

What this means

SiteShadow flagged code paths where an attacker can cause the system to consume too much CPU, memory, disk, or network—often by sending large inputs, triggering expensive operations, or creating unbounded loops/queues.

Why it matters

Unbounded resource use can lead to outages or denial of service.

Safer examples

1) Put hard limits on inputs and work

Limit request body size, file upload size, query complexity, pagination, and recursion depth.

2) Add timeouts and circuit breakers

Set DB/query timeouts, HTTP timeouts, and background job time limits.

3) Rate limit expensive endpoints

Apply throttling and caching to expensive operations; prefer async processing for heavy tasks.

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Request access View coverage