GitHub Advisory Database
GHSA-4jmm-c6jw-g796
Filestash configured to skip TLS certificate verification when using the FTPS protocol
Details
filestash v0.4 is configured to skip TLS certificate verification when using the FTPS protocol, possibly allowing attackers to execute a man-in-the-middle attack via the Init function of index.go.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mickael-kerjean/filestash | All versions up to and including 0.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-41255
- https://github.com/mickael-kerjean/filestash/issues/710
- https://gist.github.com/nyxfqq/c367f2ca9448810924dcf0f1af30b441
- https://github.com/advisories/GHSA-4jmm-c6jw-g796
- https://github.com/mickael-kerjean/filestash
- https://github.com/mickael-kerjean/filestash/blob/master/server/plugin/plg_backend_ftp/index.go#L108
- https://pkg.go.dev/vuln/GO-2024-3033