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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2022-03-17T11:21:09.487780Z

Updated: 2024-09-16T18:34:58.514Z

Reserved: 2022-02-24T00:00:00

Link: CVE-2022-21221

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-03-17T12:15:08.087

Modified: 2022-03-24T02:27:51.290

Link: CVE-2022-21221

cve-icon Redhat

No data.