CVE-2022-34037
highpriority · track · 30EPSS 0.012 · 67 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-m7gr-5w5g-36jfWithdrawn Advisory: Out-of-bounds Read can lead to client side denial of service2022-07-23ghsa · osvUS
## Withdrawn Advisory This advisory has been withdrawn because it is a bug, not a vulnerability. According to the maintainer, the bug only affects the client side of the request and cannot cause a denial of service on the server. ## Original 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) on the client side via a crafted URI.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-34037cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-34037/cnnvd
- https://github.com/caddyserver/caddy/commit/693e9b5283e675b56084ecc83d73176cab0ee27cPatchcnnvd
- https://github.com/caddyserver/caddy/issues/4775#issuecomment-1203388116cnnvd
- https://vigilance.fr/vulnerability/Caddy-out-of-bounds-memory-reading-via-rewrite-39002cnnvd
- https://github.com/caddyserver/caddy/issues/4775enisa_euvd
- https://github.com/caddyserver/caddy/issues/4775#issuecomment-1203388116enisa_euvd
- https://github.com/caddyserver/caddy/issues/4775ExploitIssue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan