CVE-2018-20234 Command injection in Sourcetree for macOS

High 8.8 Published Updated

A remote attacker with commit permissions can execute arbitrary code on macOS systems via argument injection in Mercurial repository filenames.

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-2018-20234?

CVE-2018-20234 is a high-severity command injection vulnerability in Atlassian Sourcetree for macOS, published on 8 Mar 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-88

Which versions are affected by CVE-2018-20234?

It affects 1 product.

Products include Atlassian Sourcetree.

How do I fix CVE-2018-20234?

No fix has been published for CVE-2018-20234 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-20234 being exploited?

There is no known exploitation of CVE-2018-20234 in the wild and no public exploit code.

Sources

Also known as GHSA-4rhr-pw6c-jrf4.

Is CVE-2018-20234 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free