CVE-2022-21221High· 7.5▾ TwilightPath traversal in github.com/valyala/fasthttp
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.3 · likelihood 0.5 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
2.5%
2.5% → 2.5%
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.
github.com/valyala/fasthttp < 1.34.0Upgrade to a patched release:
github.com/valyala/fasthttp 1.34.0Connected by shared product, vendor, weakness, or advisory.