ADVISORIES

GitHub Advisory Database

GHSA-fx95-883v-4q4h

Path traversal in github.com/valyala/fasthttp

Details

The package github.com/valyala/fasthttp before 1.34.0 is 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 packages

EcosystemPackageAffected versions
Gogithub.com/valyala/fasthttp
All versions before 1.34.0 (fixed in 1.34.0)

References