← Database

CVE-2022-21221

MEDIUM CVSS: 5.9 Published: 2022-03-17 Modified: 2026-06-17

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.

Affected Platforms

Microsoft WindowsFasthttp Project Fasthttp

Weakness Type

CWE-22

References