Sourcetree Security Advisory 2018-07-18
Sourcetree - Remote Code Execution vulnerabilities - CVE-2018-11235
Summary | CVE-2018-11235 - Git submodules vulnerability CVE-2018-13385 - Argument injection via Mercurial repository filenames in Sourcetree for macOS. CVE-2018-13386 - Argument injection via Mercurial repository filenames in Sourcetree for Windows. |
---|---|
Advisory Release Date | 10:00 AM PDT (Pacific Time, -7 hours) |
Products |
|
Affected Sourcetree Versions |
|
Fixed Sourcetree Versions |
|
CVE ID(s) | CVE-2018-11235 CVE-2018-13385 CVE-2018-13386 |
Summary of Vulnerabilities
This advisory discloses several critical severity security vulnerabilities:
- Git submodules vulnerability, which exists in Sourcetree for macOS from version 1.0b2 before 2.7.4, and in Sourcetree for Windows versions 0.5.10 before 2.6.9.
- Argument injection via Mercurial repository filenames vulnerability, which exists in Sourcetree for macOS before version 2.7.6, and in Sourcetree for Windows before version 2.6.9.
Customers who have upgraded to Sourcetree for macOS version 2.7.6 or Sourcetree for Windows version 2.6.9 are not affected.
Customers who have downloaded and installed Sourcetree for macOS before version 2.7.6 or Sourcetree for Windows before version 2.6.9 are affected.
Please upgrade your Sourcetree installations immediately to fix this vulnerability.
Git submodules vulnerability - CVE-2018-11235
Severity
Atlassian rates the severity level of this vulnerability as critical, according to the scale published in our Atlassian severity levels. The scale allows us to rank the severity as critical, high, moderate or low.
This is our assessment and you should evaluate its applicability to your own IT environment.
Description
The embedded version of Git used in Sourcetree for macOS and Windows was vulnerable to CVE-2018-11235. An attacker can exploit this issue if they can commit to a Git repository linked in Sourcetree for macOS or Sourcetree for Windows that has been recursively cloned or if a user interacts with a submodule. This allows them to execute arbitrary code on systems running a vulnerable version of Sourcetree for macOS or Sourcetree for Windows.
Versions of Sourcetree for macOS starting with version 1.0b2 before version 2.7.4 are affected by this vulnerability. This issue can be tracked at - SRCTREE-5845Getting issue details... STATUS .
Versions of Sourcetree for Windows starting with version 0.5.1.0 before version 2.6.9 are affected by this vulnerability. This issue can be tracked at - SRCTREEWIN-8882Getting issue details... STATUS .
Acknowledgements
CVE-2018-11235 was discovered by Etienne Stalmans.
Sourcetree for macOS - Argument injection via Mercurial repository filenames - CVE-2018-13385
Severity
Atlassian rates the severity level of this vulnerability as critical, according to the scale published in our Atlassian severity levels. The scale allows us to rank the severity as critical, high, moderate or low.
This is our assessment and you should evaluate its applicability to your own IT environment.
Description
There was an argument injection vulnerability in Sourcetree for macOS via filenames in Mercurial repositories. An attacker with permission to commit to a Mercurial repository linked in Sourcetree for macOS is able to exploit this issue to gain code execution on the system.
Versions of Sourcetree for macOS before version 2.7.6 are affected by this vulnerability. This issue can be tracked at - SRCTREE-5846Getting issue details... STATUS .
Acknowledgements
Credit for finding this vulnerability goes to Terry Zhang at Tophant.
Sourcetree for Windows - Argument injection via Mercurial repository filenames - CVE-2018-13386
Severity
Atlassian rates the severity level of this vulnerability as critical, according to the scale published in our Atlassian severity levels. The scale allows us to rank the severity as critical, high, moderate or low.
This is our assessment and you should evaluate its applicability to your own IT environment.
Description
There was an argument injection vulnerability in Sourcetree for Windows via filenames in Mercurial repositories. An attacker with permission to commit to a Mercurial repository linked in Sourcetree for Windows is able to exploit this issue to gain code execution on the system.
Versions of Sourcetree for Windows before version 2.6.9 are affected by this vulnerability. This issue can be tracked at - SRCTREEWIN-8884Getting issue details... STATUS .
Acknowledgements
Credit for finding this vulnerability goes to Terry Zhang at Tophant.
Fix
We have taken the following steps to address these issues:
- Released Sourcetree for macOS version 2.7.6 that contains fixes for these issues and can be downloaded from https://www.sourcetreeapp.com/.
- Released Sourcetree for Windows version 2.6.9 that contains fixes for these issues and can be downloaded from https://www.sourcetreeapp.com/.
What You Need to Do
Atlassian recommends that 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 2.7.6, or Sourcetree for Windows version 2.6.9 or higher.
If you are running Sourcetree for macOS version < 2.7.6, or Sourcetree for Windows version < 2.6.9, and cannot upgrade to the latest version, then upgrade to Sourcetree for macOS version 2.7.6 or Sourcetree for Windows version 2.6.9 at a minimum.
Support
If you did not 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.
Atlassian supports 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.
References
Security Bug fix Policy | As per our policy, critical security bug fixes will be back ported 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. |