6.7
MEDIUM
CVE-2024-20021
ATF SPM Physical Memory Remapping Privilege Escalation Vulnerability
Description

In atf spm, there is a possible way to remap physical memory to virtual memory due to a logic error. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS08584568; Issue ID: MSV-1249.

INFO

Published Date :

May 6, 2024, 3:15 a.m.

Last Modified :

April 30, 2025, 4:42 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

0.8
Public PoC/Exploit Available at Github

CVE-2024-20021 has a 1 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-2024-20021 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 Mediatek mt6781
2 Mediatek mt6785
3 Mediatek mt6833
4 Mediatek mt6853
5 Mediatek mt6873
6 Mediatek mt6877
7 Mediatek mt6885
8 Mediatek mt6893
9 Mediatek mt8675
10 Mediatek mt8188t
11 Mediatek mt6768
12 Mediatek mt8321
13 Mediatek mt8667
14 Mediatek mt8673
15 Mediatek mt8765
16 Mediatek mt8766
17 Mediatek mt8768
18 Mediatek mt8781
19 Mediatek mt8786
20 Mediatek mt8788
21 Mediatek mt8798
22 Mediatek mt8168
23 Mediatek mt8183
24 Mediatek mt8188
25 Mediatek mt8195
26 Mediatek mt8676
27 Mediatek mt8678
28 Mediatek mt8385
29 Mediatek mt8666
30 Mediatek mt8792
31 Mediatek mt8796
32 Mediatek mt8666a
33 Mediatek mt8766z
34 Mediatek mt8768a
35 Mediatek mt8768b
36 Mediatek mt8768t
37 Mediatek mt8768z
38 Mediatek mt8788t
39 Mediatek mt8788x
40 Mediatek mt8788z
41 Mediatek mt8362a
42 Mediatek mt8365
43 Mediatek mt8195z
44 Mediatek mt8795t
45 Mediatek mt8666b
1 Google android
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-2024-20021.

URL Resource
https://corp.mediatek.com/product-security-bulletin/May-2024 Vendor Advisory
https://corp.mediatek.com/product-security-bulletin/May-2024 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).

PoC associated to the talk "Attacking Samsung Galaxy A* Boot Chain" (https://www.blackhat.com/us-24/briefings/schedule/#attacking-samsung-galaxy-a-boot-chain-and-beyond-38526)

Python C

Updated: 1 week, 4 days ago
67 stars 7 fork 7 watcher
Born at : Aug. 27, 2024, 11:52 a.m. This repo has been linked 4 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-2024-20021 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-20021 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.

  • Initial Analysis by [email protected]

    Apr. 30, 2025

    Action Type Old Value New Value
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration AND OR *cpe:2.3:o:google:android:12.0:*:*:*:*:*:*:* *cpe:2.3:o:google:android:13.0:*:*:*:*:*:*:* *cpe:2.3:o:google:android:14.0:*:*:*:*:*:*:* OR cpe:2.3:h:mediatek:mt6785:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6768:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6833:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6853:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6873:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6877:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6885:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6893:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8168:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8321:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8362a:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8365:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8385:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8765:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8766:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8768:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8786:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8788:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt6781:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8183:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8188:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8188t:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8195:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8195z:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8666:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8666a:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8667:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8673:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8675:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8676:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8766z:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8768a:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8768b:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8768t:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8768z:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8781:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8788t:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8788x:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8788z:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8792:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8795t:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8798:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8666b:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8678:-:*:*:*:*:*:*:* cpe:2.3:h:mediatek:mt8796:-:*:*:*:*:*:*:*
    Added Reference Type CVE: https://corp.mediatek.com/product-security-bulletin/May-2024 Types: Vendor Advisory
    Added Reference Type MediaTek, Inc.: https://corp.mediatek.com/product-security-bulletin/May-2024 Types: Vendor Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://corp.mediatek.com/product-security-bulletin/May-2024
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 03, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    May. 06, 2024

    Action Type Old Value New Value
    Added Description In atf spm, there is a possible way to remap physical memory to virtual memory due to a logic error. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS08584568; Issue ID: MSV-1249.
    Added Reference MediaTek, Inc. https://corp.mediatek.com/product-security-bulletin/May-2024 [No types assigned]
    Added CWE MediaTek, Inc. CWE-269
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-2024-20021 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-2024-20021 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 05, 2025 14:28