{"id":"CVE-2022-34037","details":"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.","modified":"2026-03-14T11:48:08.014578Z","published":"2022-07-22T15:15:08.580Z","related":["CGA-5gg4-jv8v-gch4","openSUSE-SU-2022:10080-1","openSUSE-SU-2024:12220-1"],"references":[{"type":"REPORT","url":"https://github.com/caddyserver/caddy/issues/4775#issuecomment-1203388116"},{"type":"FIX","url":"https://github.com/caddyserver/caddy/issues/4775"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mholt/caddy","events":[{"introduced":"0"},{"last_affected":"f7be0ee10131f25620a2f64af7e3ded43eae2049"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.5.1"}]}}],"versions":["v2.0.0","v2.0.0-beta.13","v2.0.0-beta.14","v2.0.0-beta.15","v2.0.0-beta.16","v2.0.0-beta.17","v2.0.0-beta.18","v2.0.0-beta.19","v2.0.0-beta.20","v2.0.0-beta1","v2.0.0-beta10","v2.0.0-beta11","v2.0.0-beta12","v2.0.0-beta2","v2.0.0-beta3","v2.0.0-beta4","v2.0.0-beta5","v2.0.0-beta6","v2.0.0-beta7","v2.0.0-beta8","v2.0.0-beta9","v2.0.0-rc.1","v2.0.0-rc.2","v2.0.0-rc.3","v2.1.0","v2.1.0-beta.1","v2.1.0-beta.2","v2.1.1","v2.2.0","v2.2.0-rc.1","v2.2.0-rc.2","v2.2.0-rc.3","v2.2.1","v2.2.3","v2.3.0","v2.3.0-beta.1","v2.3.0-rc.1","v2.3.0-rc.2","v2.4.0","v2.4.0-beta.1","v2.4.0-beta.2","v2.4.0-rc.1","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.5.0","v2.5.0-beta.1","v2.5.0-rc.1","v2.5.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34037.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}