Sourcetree Security Advisory 2018-10-31
Sourcetree - Remote Code Execution vulnerabilities - CVE-2018-13396
CVE-2018-13396 - Argument injection via Mercurial repository with Git subrepository in Sourcetree for macOS.
CVE-2018-13397 - Argument injection via Mercurial repository with Git subrepository in Sourcetree for Windows.
|Advisory Release Date|
10:00 AM PDT (Pacific Time, -7 hours)
Affected Sourcetree Versions
Fixed Sourcetree Versions
Summary of vulnerabilities
This advisory discloses a critical severity security vulnerability: the Git subrepository in Mercurial repository vulnerability, which exists in Sourcetree for macOS from version 1.0b2 before 3.0.0, and in Sourcetree for Windows from version 0.5.10 before 3.0.0.
Customers who have upgraded to Sourcetree for macOS version 3.0.0 or Sourcetree for Windows version 3.0.0 are not affected.
Customers who have downloaded and installed Sourcetree for macOS before version 3.0.0 or Sourcetree for Windows before version 3.0.0 are affected.
Please upgrade your Sourcetree installations immediately to fix this vulnerability.
Git submodules vulnerability - CVE-2018-13396 and CVE-2018-13397
We rate the severity level of this vulnerability as critical, according to the scale published in our Atlassian severity levels. This is our assessment and you should evaluate its applicability to your own IT environment.
Sourcetree for macOS and Windows before version 3.0.0 were vulnerable to CVE-2018-13396 and CVE-2018-13397 respectively. An attacker with permission to commit to a Mercurial repository linked in Sourcetree for macOS or Windows is able to exploit this issue to gain code execution on the system.
Versions of Sourcetree for Windows starting with version 0.5.1.0 before version 3.0.0 are affected by this vulnerability. You can track this issue at - SRCTREEWIN-9077Getting issue details... STATUS .
Credit for finding this vulnerability goes to Terry Zhang at Tophant.
We have taken the following steps to address these issues:
- Released Sourcetree for macOS version 3.0.0 that contains fixes for these issues, and can be downloaded from https://www.sourcetreeapp.com/.
- Released Sourcetree for Windows version 3.0.0 that contains fixes for these issues, and can be downloaded from https://www.sourcetreeapp.com/.
What you need to do
We recommend you upgrade to the latest version. For a full description of the latest version of Sourcetree, see the release notes. You can download the latest version of Sourcetree from the Sourcetree website.
Upgrade to Sourcetree for macOS version 3.0.0, or Sourcetree for Windows version 3.0.0 or higher.
If you didn't receive an email for this advisory and you wish to receive such emails in the future, go to https://my.atlassian.com/email and subscribe to alerts emails.
We support Sourcetree through the Atlassian Community. If you have questions or concerns regarding this advisory, please raise them via https://community.atlassian.com/t5/Sourcetree/ct-p/Sourcetree.
|Security Bug fix Policy|
As per our policy, critical security bug fixes will be backported in accordance with https://www.atlassian.com/trust/security/bug-fix-policy.
|Severity Levels for security issues||Atlassian security advisories include a severity level and a CVE identifier. This severity level is based on our self-calculated CVSS score for each specific vulnerability. CVSS is an industry standard vulnerability metric. You can also learn more about CVSS at FIRST.org.|
|End of Life Policy||Our end of life policy varies for different products. Please refer to our EOL Policy for details.|