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.
References (2)
Core 2
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/caddyserver/caddy/issues/4775
Scores
CVSS v3
7.5
EPSS
0.0061
EPSS Percentile
70.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (2)
caddyserver/caddy
2.5.1
caddyserver/caddy
0 - 2.5.2Go
Published
Jul 22, 2022
Tracked Since
Feb 18, 2026