—
GO-2024-2940
SFTPGo has insufficient access control for password reset in github.com/drakkan/sftpgo
Quick fix
GO-2024-2940 — github.com/drakkan/sftpgo/v2: upgrade to the fixed version with the command below.
go get github.com/drakkan/sftpgo/v2@v2.6.1Details
SFTPGo has insufficient access control for password reset in github.com/drakkan/sftpgo
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/drakkan/sftpgo
Introduced in:
0No fixed version published yet for github.com/drakkan/sftpgo (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/drakkan/sftpgo/v2
Introduced in:
2.2.0Fixed in: 2.6.1Fix
go get github.com/drakkan/sftpgo/v2@v2.6.1References
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-hw5f-6wvv-xcrh[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2024-37897[ADVISORY]
- https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423[FIX]
- https://github.com/drakkan/sftpgo/commit/3462bba3f41cbc75486474991b9e3ac1b5f1e583[FIX]
- https://github.com/drakkan/sftpgo/releases/tag/v2.6.1[WEB]