Skip to content
OpenAdvisories
Unscored CVE-2022-34037 EUVD-2022-6374GHSA-m7gr-5w5g-36jf

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 o…

Published Jul 22, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 caddy 2.5.2-bp154.2.8.1 openSUSE-SU-2022:10080-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed caddy 2.5.2-2.1 openSUSE-SU-2024:12220-1
openSUSE Leap 15.4 caddy 2.5.2-bp154.2.8.1 openSUSE-SU-2022:10080-1

Advisories 2

References