Sourcetree for Windows had several argument and command injection bugs in Mercurial and Git repository handling. An attacker with permission to commit to a repository linked in Sourcetree for Windows is able to exploit this issue to gain code execution on the system. From version 0.8.4b of Sourcetree for Windows, this vulnerability can be triggered from a webpage through the use of the Sourcetree URI handler.
- Versions of Sourcetree for Windows starting with 0.5.1.0 before version 184.108.40.206 are affected by this vulnerability
- Upgrade Sourcetree for Windows to version 220.127.116.11 or higher from https://www.sourcetreeapp.com/ .
Atlassian would like to credit Zhang Tianqi @ Tophant for reporting this issue to us.
For additional details see the full advisory.