CVE-2022-34037: caddyserver caddy Out-of-bounds Read
Vulnerability summary
CVE-2022-34037 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in caddyserver caddy. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 22-07-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
-0.02 pp
From 1.19% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCaddy
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Opensuse2 products
- caddy&distro=openSUSE Leap 15.4< 2.5.2-bp154.2.8.1
- caddy&distro=openSUSE Tumbleweed< 2.5.2-2.1
Caddyserver1 product
- caddy2.5.1
Github.com/caddyserver1 product
- caddy< 2.5.2
Suse1 product
- caddy&distro=SUSE Package Hub 15 SP4< 2.5.2-bp154.2.8.1
4 vendors · 5 products
References
8 links- lists.opensuse.org/archives/…Advisory
- github.com/caddyserver/caddyPACKAGE