CVE-2022-34037
HIGH 7.5CVSS 3.1Withdrawn Advisory: Out-of-bounds Read can lead to client side denial of service
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.
- Published
- 22 Jul 2022
- Last modified
- 7 Aug 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- GHSA-m7gr-5w5g-36jf
- Sources
- NVDJSONOSV GHSA-m7gr-5w5g-36jfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | caddyserver | caddycpe:2.3:a:caddyserver:caddy:2.5.1:*:*:*:*:*:*:* |
= 2.5.1 | |
| OSV | Go | github.com/caddyserver/caddy | < 2.5.2 | 2.5.2 |
References
- https://github.com/caddyserver/caddy/issues/4775 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/caddyserver/caddy/issues/4775#issuecomment-1203388116 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-34037 · ADVISORY
- https://github.com/caddyserver/caddy/commit/693e9b5283e675b56084ecc83d73176cab0ee27c · WEB
- https://github.com/caddyserver/caddy · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 22 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jul 2022)