Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/drakkan/sftpgo/v2/internal/sftpd
to version 2.6.5 or higher.
Affected versions of this package are vulnerable to Command Injection due to insufficient sanitization of user-provided rsync
command. An attacker can execute arbitrary commands by injecting malicious inputs into the rsync parameters.