CVE-2022-34037: Caddyserver Caddy

High severity, CVSS 7.5. EPSS: 1.3% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2022-07-22. Last modified 2026-06-17.