github.com/valyala/fasthttp
Affected
- introduced
0, fixed1.34.0(semver)
Fixed versions
1.34.0
Fix
- Fixed version
1.34.0go get github.com/valyala/[email protected]
Advisory
Also known as: CVE-2022-21221, GHSA-fx95-883v-4q4h, SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866
Path traversal in github.com/valyala/fasthttp
The fasthttp.FS request handler is vulnerable to directory traversal attacks on Windows systems, and can serve files from outside the provided root directory.
URL path normalization does not handle Windows path separators (backslashes), permitting an attacker to construct requests with relative paths.
Not rated by the source.
0, fixed 1.34.0 (semver)1.34.0
1.34.0go get github.com/valyala/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0