CVE-2018-13385

There was an argument injection vulnerability in Sourcetree for macOS via filenames in Mercurial repositories

published July 24, 2018

CVSS
—
EPSS
2%
Percentile
82.4
In the wild
Unconfirmed
What it is

⚠️ An attacker with commit permissions can exploit this argument injection vulnerability in Sourcetree for macOS through cleverly crafted filenames! 🔥 Think of Sourcetree as a restaurant kitchen where chefs can bring in ingredients (files) for their dishes. If someone sneaks in spoiled ingredients (malicious filenames) without the head chef (Sourcetree) checking them, it could lead to a disastrous meal (code execution). This sneaky vector allows attackers to execute arbitrary code on the system, potentially leading to a total compromise of the user's machine. If exploited, it could be devastating, giving the attacker control over the environment. Users should tread carefully, as this could have serious consequences for security!

Put simply

Think of Sourcetree as a restaurant kitchen where chefs can bring in ingredients (files) for their dishes. If someone sneaks in spoiled ingredients (malicious filenames) without the head chef (Sourcetree) checking them, it could lead to a disastrous meal (code execution). The vulnerability arises from improper handling of filenames in Mercurial repositories linked to Sourcetree, allowing an attacker with permission to commit malicious code that gets executed.

What to do

This sneaky vector allows attackers to execute arbitrary code on the system, potentially leading to a total compromise of the user's machine. If exploited, it could be devastating, giving the attacker control over the environment. Users should tread carefully, as this could have serious consequences for security! To protect yourself, update to the latest version of Sourcetree for macOS (2.7.6 or later) immediately! Review your repository permissions and consider restricting commit access to trusted individuals only. You've got this! Follow these steps, and you'll secure your Sourcetree environment in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02214 · 82.4th percentile
Published
2018-07-24T13:00Z
EPSS history
Timeline
  • 24 JUL 13:00Z
    There was an argument injection vulnerability in Sourcetree for macOS via filenames in Mercurial repositories
    cvelistv5