What’s Vulnerable › Vulnerabilities
CVE-2018-20234
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-03-08 · updated 2026-06-17
- Weakness: CWE-88
Description
There was an argument injection vulnerability in Atlassian Sourcetree for macOS from version 1.2 before version 3.1.1 via filenames in Mercurial repositories. A remote 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.
Affected products
- Atlassian Sourcetree for Windows: from 1.2.0 before 3.1.1 — fixed in 3.1.1
How to fix
Upgrade to a fixed version: Atlassian Sourcetree for Windows 3.1.1. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html
- http://www.securityfocus.com/bid/107414
- https://jira.atlassian.com/browse/SRCTREE-6391
- https://seclists.org/bugtraq/2019/Mar/30
- http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html
- http://www.securityfocus.com/bid/107414
- https://jira.atlassian.com/browse/SRCTREE-6391
- https://seclists.org/bugtraq/2019/Mar/30
Get alerted when CVE-2018-20234 or the next vulnerability affects your stack