Go Vulnerability Database
GO-2023-1713
Path traversal in github.com/sjqzhang/go-fastdfs
Details
An attacker can craft a remote request to upload a file to "/group1/upload" that uses path traversal to instead write the file contents to an attacker controlled path on the server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/sjqzhang/go-fastdfs | All versions before 1.4.5-0.20230408141131-61cbff5124c6 (fixed in 1.4.5-0.20230408141131-61cbff5124c6) |