CVE-2022-21221Published Mar 17, 2022 · Mar 17Updated Oct 28
Directory Traversal
github.com/valyala/fasthttp
Medium5.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/valyala/fasthttp Go |
|
|
Original description
The package github.com/valyala/fasthttp before 1.34.0 are vulnerable to Directory Traversal via the ServeFile function, due to improper sanitization. It is possible to be exploited by using a backslash %5c character in the path. **Note:** This security issue impacts Windows users only.
From the CVE record · snyk