Vulnerability · Published Jul 22, 2022 · Assigned by mitre

CVE-2022-34037

High 7.5

In plain English

A high-severity security flaw in the github.com/caddyserver/caddy package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.2%top 32.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/caddyserver/caddy2.5.2GHSA-m7gr-5w5g-36jf

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References