CVE-2022-21221
MEDIUMfasthttp < 1.34.0 - Directory Traversal via Backslash Character in ServeFile Path
Title source: llmDescription
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.
References (5)
Core 5
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/valyala/fasthttp/issues/1226
Patch, Third Party Advisory x_refsource_misc
https://github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1
Patch, Third Party Advisory x_refsource_misc
https://github.com/valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f3604d00e8
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/valyala/fasthttp/releases/tag/v1.34.0
Scores
CVSS v3
5.9
EPSS
0.0246
EPSS Percentile
82.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-22
Status
published
Products (2)
fasthttp_project/fasthttp
< 1.34.0
valyala/fasthttp
0 - 1.34.0Go
Published
Mar 17, 2022
Tracked Since
Feb 18, 2026