You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Attempt to prevent unsafe external versioner commands #10721
The external versioning command may be prone to remote execution if the command or script is crafted in an unfortunate manner.
Configuring the command as somecommand %FOLDER_PATH% %FILE_PATH% is safe at the execution layer regardless of the contents of the file path; we ensure it is sent as parameter number two. However, if you set the command to, e.g., sh -c "echo %FILE_PATH%" you open up yourself to a shell injection from the file name which can be something like evil"; rm -rf ~.
We should make a best effort attempt to prevent this, and also document it.
Activity
chore(versioner): attempt to prevent blatantly unsafe external versio…
fix(container): update image ghcr.io/syncthing/syncthing (2.1.1 ➔ 2.1…
fix(container): update image ghcr.io/syncthing/syncthing (2.1.1 ➔ 2.1…
fix(container): update image ghcr.io/syncthing/syncthing (2.1.1 ➔ 2.1…