Description
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, the path sanitization routine in file matcher doesn't sanitize backslashes which can lead to bypassing path related security protections. It affects users with specific Caddy and environment configurations. Version 2.11.1 fixes the issue.
Problem types
CWE-20: Improper Input Validation
Product status
References
github.com/.../caddy/security/advisories/GHSA-4xrr-hq4w-6vf4
github.com/...b58ca0/modules/caddyhttp/fileserver/matcher.go
github.com/...b58ca0/modules/caddyhttp/fileserver/matcher.go
github.com/caddyserver/caddy/releases/tag/v2.11.1