CVE-2022-21221 Directory Traversal
HighCVSS 7.5
EPSS 2.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fasthttp project fasthttp | < 1.34.0 | 1.34.0 | Fixed |
| valyala github.com/valyala/fasthttp(Go) | < 1.34.0 | 1.34.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| valyala github.com/valyala/fasthttp(Go) | < 1.34.0 | 1.34.0 |
| fasthttp project fasthttp | < 1.34.0 | 1.34.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com product
- github.com release-notes third-party-advisory
- pkg.go.dev
- snyk.io exploit patch third-party-advisory
- github.com