CVE-2022-34037

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductCaddy
PublishedJul 22, 2022
First seenJul 22, 2022

How to fix

Update
  • github.com/caddyserver/caddy2.5.2 or later

Affected products

ProductAffected versionsFixed in
caddyserver caddy2.5.1—
github.com/caddyserver/caddyGov < 2.5.22.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.