CVE-2018-13396 Command injection in Sourcetree for macOS

High 8.8 Published Updated

An attacker with commit access to a linked 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
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-13396?

CVE-2018-13396 is a high-severity command injection vulnerability in Atlassian Sourcetree for macOS, published on 5 Nov 2018. 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 Sourcetree for macOS from version 1.0b2 before version 3.0.0 via Git subrepositories 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.

Which versions are affected by CVE-2018-13396?

It affects 1 product.

Products include Atlassian Sourcetree.

How do I fix CVE-2018-13396?

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

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

Sources

Also known as GHSA-m9xm-c5p7-mr3h.

Is CVE-2018-13396 in your software?

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

Check your SBOMs for free