
Cloud Vulnerability DB
A community-led vulnerabilities database
A disputed vulnerability (CVE-2022-34037) was identified in Caddy v2.5.1's rewrite function at /modules/caddyhttp/rewrite/rewrite.go. The issue emerged when an administrator's malformed request URI containing a '#' character before a '?' character caused the server to return an empty reply instead of a valid HTTP response to the client (MITRE CVE).
The vulnerability stems from an implementation flaw in the URI parsing logic within the rewrite function. When parsing the URI components, if a fragment identifier ('#') appears before a query string separator ('?'), the code sets qsStart to a value larger than qsEnd, leading to an out-of-bounds read when attempting to slice the URI string. This results in a panic with the error 'runtime error: slice bounds out of range' (GitHub Issue).
When exploited, this vulnerability could cause a Denial of Service (DoS) condition through a crafted URI that triggers a panic in the server process (MITRE CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."