Code Injection in Sourcetree for Windows and Sourcetree for macOS - CVE-2018-20234
Published: March 22, 2019
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation when processing filenames in Mercurial repositories. A remote attacker with permission to commit to a Mercurial repository can create a specially crafted filename and inject arbitrary arguments.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Sourcetree for macOS
How to mitigate CVE-2018-20234
Sourcetree for macOS - update to 3.1.1