CVE-2022-34037
Description
An out-of-bounds read in the rewrite function at /modules/caddyhttp/rewrite/rewrite.go in Caddy v2.5.1 allows attackers to cause a Denial of Service (DoS) via a crafted URI. Note: This has been disputed as a bug, not a security vulnerability, in the Caddy web server that emerged when an administrator's bad configuration containing a malformed request URI caused the server to return an empty reply instead of a valid HTTP response to the client.
How to fix
- github.com/caddyserver/caddy2.5.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| caddyserver caddy | 2.5.1 | — |
| github.com/caddyserver/caddyGo | v < 2.5.2 | 2.5.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.