CVE-2018-20235 Command injection in Sourcetree for Windows

High 8.8 Published Updated

Remote attackers can execute arbitrary code on Windows systems via malicious filenames in Mercurial repositories linked 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-20235?

CVE-2018-20235 is a high-severity command injection vulnerability in Atlassian Sourcetree for Windows, 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 Windows from version 0.5a before version 3.0.15 via filenames in Mercurial repositories. A remote attacker with permission to commit to a Mercurial repository linked in Sourcetree for Windows is able to exploit this issue to gain code execution on the system.

Which versions are affected by CVE-2018-20235?

It affects 1 product.

Products include Atlassian Sourcetree.

How do I fix CVE-2018-20235?

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

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

Sources

Also known as GHSA-4cvg-635c-j7v8.

Is CVE-2018-20235 in your software?

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

Check your SBOMs for free