CVE-2017-14592 Command injection in Sourcetree for macOS
Attackers can execute arbitrary code on macOS systems via command injection in Sourcetree when handling malicious Git or Mercurial repositories.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-14592?
CVE-2017-14592 is a high-severity command injection vulnerability in Atlassian Sourcetree for macOS, published on 26 Jan 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Sourcetree for macOS had several argument and command injection bugs in Mercurial and Git repository handling. An attacker with permission to commit to a repository linked in Sourcetree for macOS is able to exploit this issue to gain code execution on the system. From version 1.4.0 of Sourcetree for macOS, this vulnerability can be triggered from a webpage through the use of the Sourcetree URI handler. Versions of Sourcetree for macOS starting with 1.0b2 before version 2.7.0 are affected by this vulnerability.
Weakness: CWE-77
Which versions are affected by CVE-2017-14592?
It affects 1 product.
Products include Atlassian Sourcetree.
How do I fix CVE-2017-14592?
No fix has been published for CVE-2017-14592 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-2017-14592 being exploited?
There is no known exploitation of CVE-2017-14592 in the wild and no public exploit code.
Other vulnerabilities in Atlassian Sourcetree for macOS
Sources
Also known as GHSA-gpjg-fjjx-7625.