Lack of data validation - Path Traversal In github.com/valyala/fasthttp
Description
Path traversal in github.com/valyala/fasthttp 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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
go | 1.34.0 |
Aliases
1. 2. 3. 4.
References
1. 2. 3. 4. 5.