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