Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-21221 EUVD-2022-1419GHSA-fx95-883v-4q4hGO-2022-0355SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866

Directory Traversal

Published Mar 17, 2022 · Updated Sep 16, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— github.com/valyala/fasthttp unspecified – < 1.34.0 1.34.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/valyala/fasthttp < 1.34.0 1.34.0 GHSA-fx95-883v-4q4h

References