CVE-2024-21697 Code injection in Sourcetree for Mac
An unauthenticated attacker can execute arbitrary code on Sourcetree for Mac and Windows via a remote code execution vulnerability requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-21697?
CVE-2024-21697 is a high-severity code injection vulnerability in Atlassian Sourcetree for Mac, published on 19 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
This High severity RCE (Remote Code Execution) vulnerability was introduced in versions 4.2.8 of Sourcetree for Mac and 3.4.19 for Sourcetree for Windows. This RCE (Remote Code Execution) vulnerability, with a CVSS Score of 8.8, allows an unauthenticated attacker to execute arbitrary code which has high impact to confidentiality, high impact to integrity, high impact to availability, and requires user interaction. Atlassian recommends that Sourcetree for Mac and Sourcetree for Windows customers upgrade to latest version, if you are unable to do so, upgrade your instance to one of the specified supported fixed versions: Sourcetree for Mac 4.2: Upgrade to a release greater than or equal to 4.2.9 Sourcetree for Windows 3.4: Upgrade to a release greater than or equal to 3.4.20 See the release notes ([https://www.sourcetreeapp.com/download-archives]). You can download the latest version of Sourcetree for Mac and Sourcetree for Windows from the download center ([https://www.sourcetreeapp.com/download-archives]). This vulnerability was reported via our Penetration Testing program.
Which versions are affected by CVE-2024-21697?
It affects 1 product.
Products include Atlassian Sourcetree.
How do I fix CVE-2024-21697?
No fix has been published for CVE-2024-21697 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-21697 being exploited?
There is no known exploitation of CVE-2024-21697 in the wild and no public exploit code.
Other vulnerabilities in Atlassian Sourcetree for Mac
Sources
Also known as GHSA-v826-2933-8r2h.