VULNERABILITY INTELLIGENCE
CVE-2022-21221
CVSS score5.9 MEDIUM
EPSS probability2.50%
CISA KEVNot currently listed
Published2022-03-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
Weakness classification
- nvd@nist.gov: CWE-22
Primary references
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Exploit, Issue Tracking, Patch, Third Party Advisory
- report@snyk.io — Release Notes, Third Party Advisory
- report@snyk.io — Exploit, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Patch, Third Party Advisory