Skip to content

Out-of-bounds Read can lead to client side denial of service

High severity GitHub Reviewed Published Jul 23, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

gomod github.com/caddyserver/caddy (Go)

Affected versions

< 2.5.2

Patched versions

2.5.2

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) on the client side via a crafted URI.

According to the maintainer, the bug only affects the client side of the request and cannot cause a denial of service on the server.

References

Published by the National Vulnerability Database Jul 22, 2022
Published to the GitHub Advisory Database Jul 23, 2022
Reviewed Jul 27, 2022
Last updated Jan 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2022-34037

GHSA ID

GHSA-m7gr-5w5g-36jf

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.