9.8
CRITICAL
CVE-2021-40531
Apple Sketch Before 75 Unquoted Service Path Local Privilege Escalation
Description

Sketch before 75 allows library feeds to be used to bypass file quarantine. Files are automatically downloaded and opened, without the com.apple.quarantine extended attribute. This results in remote code execution, as demonstrated by CommandString in a terminal profile to Terminal.app.

INFO

Published Date :

Sept. 6, 2021, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 6:24 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-40531 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-40531 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apple macos
1 Sketch sketch
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-40531.

URL Resource
https://jonpalmisc.com/2021/11/22/cve-2021-40531 Exploit Third Party Advisory
https://www.sketch.com/updates/#version-75 Patch Release Notes Vendor Advisory
https://jonpalmisc.com/2021/11/22/cve-2021-40531 Exploit Third Party Advisory
https://www.sketch.com/updates/#version-75 Patch Release Notes Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 6 months, 1 week ago
8 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 943 different CVEs too.

Quarantine bypass and RCE vulnerability in Sketch (proof-of-concept)

cve sketch macos

HTML

Updated: 1 year, 9 months ago
12 stars 3 fork 3 watcher
Born at : Nov. 19, 2021, 5:38 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-40531 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-40531 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://jonpalmisc.com/2021/11/22/cve-2021-40531
    Added Reference https://www.sketch.com/updates/#version-75
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Apr. 25, 2022

    Action Type Old Value New Value
    Removed CWE NIST NVD-CWE-noinfo
    Added CWE NIST CWE-434
    Changed CPE Configuration OR *cpe:2.3:a:sketch:sketch:*:*:*:*:*:*:*:* versions up to (excluding) 75 AND OR *cpe:2.3:a:sketch:sketch:*:*:*:*:*:*:*:* versions up to (excluding) 75 OR cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 02, 2022

    Action Type Old Value New Value
    Changed Description An issue discovered in sketch before version 75,that allows for library feeds to be used to bypass file quarantine which results in remote code execution. Sketch before 75 allows library feeds to be used to bypass file quarantine. Files are automatically downloaded and opened, without the com.apple.quarantine extended attribute. This results in remote code execution, as demonstrated by CommandString in a terminal profile to Terminal.app.
  • Modified Analysis by [email protected]

    Nov. 28, 2021

    Action Type Old Value New Value
    Changed Reference Type https://jonpalmisc.com/2021/11/22/cve-2021-40531 No Types Assigned https://jonpalmisc.com/2021/11/22/cve-2021-40531 Exploit, Third Party Advisory
  • CVE Modified by [email protected]

    Nov. 26, 2021

    Action Type Old Value New Value
    Changed Description Sketch before 75 mishandles external library feeds. An issue discovered in sketch before version 75,that allows for library feeds to be used to bypass file quarantine which results in remote code execution.
  • CVE Modified by [email protected]

    Nov. 22, 2021

    Action Type Old Value New Value
    Added Reference https://jonpalmisc.com/2021/11/22/cve-2021-40531 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 10, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.sketch.com/updates/#version-75 No Types Assigned https://www.sketch.com/updates/#version-75 Patch, Release Notes, Vendor Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:sketch:sketch:*:*:*:*:*:*:*:* versions up to (excluding) 75
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-40531 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-40531 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.51 }} -0.54%

score

0.76426

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability