CVE-2022-21221
Medium
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.
SeverityMedium
CVSS5.9
Exploit probability—
ProductFasthttp
PublishedMar 17, 2022
First seenMar 17, 2022
How to fix
Update
- fasthttp_project fasthttp1.34.0 or later
- github.com/valyala/fasthttp1.34.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fasthttp_project fasthttp | v < 1.34.0 | 1.34.0 |
| github.com/valyala/fasthttpGo | v < 1.34.0 | 1.34.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.