~ / search / GHSA-fx95-883v-4q4h

GHSA-fx95-883v-4q4h

Path traversal in github.com/valyala/fasthttp

Source: GitHub Advisory Database (reviewed) High CVE-2022-21221

Packages

EcosystemPackageAffectedFixed in
Go github.com/valyala/fasthttp < 1.34.0 1.34.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.