NetSight
high7.5

CVE-2022-21221

Path traversal in github.com/valyala/fasthttp

Impact

The package github.com/valyala/fasthttp before 1.34.0 is 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 packages

EcosystemPackageAffectedFixed in
gogithub.com/valyala/fasthttp< 1.34.01.34.0

Affected products

VendorProductAffected versions
Fasthttp ProjectFasthttp
before 1.34.0

Weakness classification

References