-
Bug
-
Resolution: Fixed
-
Highest
-
0.8.4b
-
None
-
Severity 1 - Critical
SourceTree for Windows is affected by a command injection vulnerability in URI handling. The vulnerability can be triggered through a browser or the SourceTree interface.
Affected versions:
- Versions of SourceTree for Windows starting with 0.8.4b before version 2.0.20.1 are affected by this vulnerability.
Fix:
- Upgrade SourceTree for Windows to version 2.0.20.1 or higher from https://www.sourcetreeapp.com/
Acknowledgements
We would like to credit Yu Hong for reporting this issue to us.
For additional details see the full advisory.
I also am staying on version 1.7 as I'm unable to use the UI in later versions.
Tim - I found the same thing with the missing key being re-added.
However what I found was it doesn't check the key value of the actual command for changes.
What I did was modified the command to not allow any parameters - this key value remains the same after restarts.
Reg file to fix this is below.
Can the devs confirm this will fix the issue?
Remove-sourcetree-link.reg
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\sourcetree\shell\open\command] @="\"C:\\Program Files (x86)\\Atlassian\\SourceTree\\SourceTree.exe\""