5.9
Medium
CVE-2022-21221 The package github.com/valyala/fasthttp before 1.34.0 are vulnerable to Directory Traversal via the ServeFile…
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/valyala/fasthttp 1.34 | earliest → < 1.34.0 | 1.34.0 |