{"schemaVersion":3,"id":"CVE-2022-34037","aliases":["openSUSE-SU-2022:10080-1","GHSA-m7gr-5w5g-36jf","openSUSE-SU-2024:12220-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-07-22T00:00:00.000Z","modified":"2024-08-03T08:16:17.148Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01177,"percentile":0.6716,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.015000000000000083,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01192},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01166,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01177,"percentile":0.6716}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01192,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01177,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01177,"percentile":0.6716}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_CADDYSERVER_CADDY","name":"Caddy","source":"github","url":"https://github.com/caddyserver/caddy/issues/4775","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"caddyserver","product":"caddy","name":"caddy","label":"caddy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.5.1","eol":{"isEol":false,"eolDate":null,"matchMethod":"cpe","cycle":{"name":"2","label":"2","eolFrom":null,"isLts":false,"isMaintained":true,"latestVersion":"2.11.7"},"product":{"name":"caddy","label":"Caddy","category":"server-app"}},"hubHref":"/vendor/caddyserver/caddy"},{"vendor":"github.com/caddyserver","product":"caddy","name":"github.com/caddyserver/caddy","label":"caddy","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/caddyserver/caddy","purlType":"golang","versions":[{"text":"< 2.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.2","eol":null,"hubHref":null},{"vendor":"opensuse","product":"caddy&distro=openSUSE Leap 15.4","name":"caddy","label":"caddy&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/caddy&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 2.5.2-bp154.2.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.2-bp154.2.8.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"caddy&distro=openSUSE Tumbleweed","name":"caddy","label":"caddy&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/caddy&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 2.5.2-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.2-2.1","eol":null,"hubHref":null},{"vendor":"suse","product":"caddy&distro=SUSE Package Hub 15 SP4","name":"caddy","label":"caddy&distro=SUSE Package Hub 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/caddy&distro=SUSE Package Hub 15 SP4","purlType":"rpm","versions":[{"text":"< 2.5.2-bp154.2.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.2-bp154.2.8.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/caddyserver/caddy/issues/4775","label":"github.com/caddyserver/caddy/issues/4775","hostname":"github.com","tags":["WEB","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/caddyserver/caddy/issues/4775#issuecomment-1203388116","label":"github.com/caddyserver/caddy/issues/4775","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GQURFVT45F4OXOLLGP52CDBSBPTC2M4G/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1201822","label":"bugzilla.suse.com/1201822","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-34037","label":"www.suse.com/security/cve/CVE-2022-34037","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34037","label":"nvd.nist.gov/vuln/detail/CVE-2022-34037","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/caddyserver/caddy/commit/693e9b5283e675b56084ecc83d73176cab0ee27c","label":"github.com/caddyserver/caddy/commit/693e9b5283e675b56084ecc83d73176cab0ee27c","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/caddyserver/caddy","label":"github.com/caddyserver/caddy","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-5GG4-JV8V-GCH4","CGA-V82X-WH3P-7M98"]},"timeline":[{"kind":"published","date":"2022-07-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T08:16:17.148Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:23:46.158Z","stale":false,"partial":false}}