Caddy: Unbounded body buffer via {http.request.body} placeholder — memory exhaustion DoS
caddyserver caddy
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/caddyserver/caddy/v2 Go |
|
|
Original description
Caddy is an extensible server platform that uses TLS by default. In version 2.11.3 and earlier, in modules/caddyhttp/replacer.go, resolving http.request.body reads the complete request body with an unbounded io.Copy before request-body middleware limits apply, allowing memory exhaustion and process termination.
From the CVE record · GitHub_M