Advisory

GO-2023-1713

Also known as: CVE-2023-1800, GHSA-xq3x-grrj-fj6x

Summary

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.

Severity

Not rated by the source.

Dates

Published
2023-04-12 21:45 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/sjqzhang/go-fastdfs

Go · All systems

Affected

  • introduced 0, fixed 1.4.5-0.20230408141131-61cbff5124c6 (semver)

Fixed versions

1.4.5-0.20230408141131-61cbff5124c6

Fix

  • Fixed version 1.4.5-0.20230408141131-61cbff5124c6
    go get github.com/sjqzhang/[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

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences