{"id":"CVE-2022-34037","aliases":["EUVD-2022-6374","GHSA-m7gr-5w5g-36jf","openSUSE-SU-2022:10080-1","openSUSE-SU-2024:12220-1"],"status":"disputed","title":"Withdrawn Advisory: Out-of-bounds Read can lead to client side denial of service","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01177,"percentile":0.67821,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2022-07-22T00:00:00Z","modified":"2026-10-28T02:30:47Z","fixes":[{"ecosystem":"SUSE:Package Hub 15 SP4","package":"caddy","fixed_in":["2.5.2-bp154.2.8.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"caddy","fixed_in":["2.5.2-bp154.2.8.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"caddy","fixed_in":["2.5.2-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"caddy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.2-bp154.2.8.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"caddy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.2-bp154.2.8.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"caddy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.2-2.1"}]}]}],"products":[{"vendor":"caddyserver","product":"caddy"}],"references":[{"url":"https://github.com/caddyserver/caddy/issues/4775","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://github.com/caddyserver/caddy/issues/4775#issuecomment-1203388116","tags":["x_transferred","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34037","tags":["advisory"]},{"url":"https://github.com/caddyserver/caddy/commit/693e9b5283e675b56084ecc83d73176cab0ee27c","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m7gr-5w5g-36jf"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34037.json","tags":["advisory"]},{"url":"https://github.com/caddyserver/caddy","tags":["package"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GQURFVT45F4OXOLLGP52CDBSBPTC2M4G/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1201822","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-34037","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-34037","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.","status":"disputed","published":"2022-07-22T00:00:00Z","modified":"2024-08-03T08:16:17.148Z","updated_at":"2026-11-02T14:34:42.354707Z"}],"euvd":[{"id":"EUVD-2022-6374","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.","status":"published","published":"2022-07-22T00:00:00Z","modified":"2024-08-03T08:16:17Z","updated_at":"2026-11-03T03:25:29.025225Z"}],"ghsa":[{"id":"GHSA-m7gr-5w5g-36jf","title":"Withdrawn Advisory: Out-of-bounds Read can lead to client side denial of service","description":"## Withdrawn Advisory\nThis 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.\n\n## Original Description\nAn 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.","status":"withdrawn","published":"2022-07-23T00:00:22Z","modified":"2024-05-06T14:22:02Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:37:48.08826Z"}],"nvd":[{"id":"CVE-2022-34037","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.","status":"disputed","published":"2022-07-22T15:15:08.58Z","modified":"2026-06-17T04:49:41.46Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:07:24.037422Z"}],"osv":[{"id":"GHSA-m7gr-5w5g-36jf","title":"Withdrawn Advisory: Out-of-bounds Read can lead to client side denial of service","description":"## Withdrawn Advisory\nThis 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.\n\n## Original Description\nAn 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.","status":"withdrawn","published":"2022-07-23T00:00:22Z","modified":"2026-08-07T08:12:01.611095017Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:51.463834Z"},{"id":"CVE-2022-34037","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.","status":"published","published":"2022-07-22T00:00:00Z","modified":"2026-10-28T02:30:47.418256333Z","updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"openSUSE-SU-2022:10080-1","title":"Security update for caddy","description":"This update for caddy fixes the following issues:\n\nUpdate to version 2.5.2:\n\n* admin: expect quoted ETags (#4879)\n* headers: Only replace known placeholders (#4880)\n* reverseproxy: Err 503 if all upstreams unavailable\n* reverseproxy: Adjust new TLS Caddyfile directive names (#4872)\n* fileserver: Use safe redirects in file browser\n* admin: support ETag on config endpoints (#4579)\n* caddytls: Reuse issuer between PreCheck and Issue (#4866)\n* admin: Implement /adapt endpoint (close #4465) (#4846)\n* forwardauth: Fix case when `copy_headers` is omitted (#4856)\n* Expose several Caddy HTTP Matchers to the CEL Matcher (#4715)\n* reverseproxy: Fix double headers in response handlers (#4847)\n* reverseproxy: Fix panic when TLS is not configured (#4848)\n* reverseproxy: Skip TLS for certain configured ports (#4843)\n* forwardauth: Support renaming copied headers, block support (#4783)\n* Add comment about xcaddy to main\n* headers: Support wildcards for delete ops (close #4830) (#4831)\n* reverseproxy: Dynamic ServerName for TLS upstreams (#4836)\n* reverseproxy: Make TLS renegotiation optional\n* reverseproxy: Add renegotiation param in TLS client (#4784)\n* caddyhttp: Log error from CEL evaluation (fix #4832)\n* reverseproxy: Correct the `tls_server_name` docs (#4827)\n* reverseproxy: HTTP 504 for upstream timeouts (#4824)\n* caddytls: Make peer certificate verification pluggable (#4389)\n* reverseproxy: api: Remove misleading 'healthy' value\n* Fix #4822 and fix #4779\n* reverseproxy: Add --internal-certs CLI flag #3589 (#4817)\n* ci: Fix build caching on Windows (#4811)\n* templates: Add `humanize` function (#4767)\n* core: Micro-optim in run() (#4810)\n* httpcaddyfile: Add `{err.*}` placeholder shortcut (#4798)\n* templates: Documentation consistency (#4796)\n* chore: Bump quic-go to v0.27.0 (#4782)\n* reverseproxy: Support http1.1\u003eh2c (close #4777) (#4778)\n* rewrite: Handle fragment before query (fix #4775) [boo#1201822, CVE-2022-34037]\n* httpcaddyfile: Support multiple values for `default_bind` (#4774)\n","status":"published","published":"2022-08-06T12:01:12Z","modified":"2026-02-04T03:49:42.302811Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:12220-1","title":"caddy-2.5.2-2.1 on GA media","description":"These are all security issues fixed in the caddy-2.5.2-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:32:56.919558Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
