CVE-2018-13385 Command injection in Sourcetree for macOS
An attacker with commit access to a Mercurial repository can execute arbitrary code on the victim's macOS system via argument injection in Sourcetree.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-13385?
CVE-2018-13385 is a critical command injection vulnerability in Atlassian Sourcetree for macOS, published on 24 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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 from 1.0b2 before 2.7.6 are affected by this vulnerability.
Weakness: CWE-88
Which versions are affected by CVE-2018-13385?
It affects 1 product.
Products include Atlassian Sourcetree.
How do I fix CVE-2018-13385?
No fix has been published for CVE-2018-13385 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-13385 being exploited?
There is no known exploitation of CVE-2018-13385 in the wild and no public exploit code.
Other vulnerabilities in Atlassian Sourcetree for macOS
Sources
Also known as GHSA-qmx8-jjxc-9jwh.