CVE-2021-0315
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the...
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the user to grant an app access to an account due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-169763814.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.3
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the user to grant an app access to an account due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-169763814.
- Record
CVE-2021-0315- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-1021
- Updated
- 2026-11-02
CVE List No score
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the user to grant an app access to an account due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-169763814.
- Record
CVE-2021-0315- Updated
- 2026-11-02
EUVDEUVD-2021-2934 No score
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the user to grant an app access to an account due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-169763814.
- Record
EUVD-2021-2934- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jwx3-h29g-4mcg No score
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the...
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the user to grant an app access to an account due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation. Product: Android; Versions: Android-8.1, Android-9, Android-10, Android-11, Android-8.0; Android ID: A-169763814.
- Record
GHSA-jwx3-h29g-4mcg- Weakness
- CWE-1021
- Updated
- 2026-11-02
OSVASB-A-169763814 No score
In onCreate of GrantCredentialsPermissionActivity.java, there is a possible way to convince the user to grant an app access to an account due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.
- Record
ASB-A-169763814- Updated
- 2026-11-09
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
platform/frameworks/baseAndroid |
8.0:0 up to 8.0:2021-01-01, plus listed versions 8.0 |
8.0:2021-01-01 |
platform/frameworks/baseAndroid |
8.1:0 up to 8.1:2021-01-01, plus listed versions 8.1 |
8.1:2021-01-01 |
platform/frameworks/baseAndroid |
9:0 up to 9:2021-01-01, plus listed versions 9 |
9:2021-01-01 |
platform/frameworks/baseAndroid |
10:0 up to 10:2021-01-01, plus listed versions 10 |
10:2021-01-01 |
platform/frameworks/baseAndroid |
11:0 up to 11:2021-01-01, plus listed versions 11 |
11:2021-01-01 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | nanopathi/framework_base_AOSP10_r33_CVE-2021-0315 | 2022-04-26 |
| PoC in GitHub | pazhanivel07/frameworks_base_Aosp10_r33_CVE-2021-0315 | 2022-04-26 |
| PoC in GitHub | nanopathi/frameworks_base1_CVE-2021-0315 | 2022-04-27 |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploits, facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-0315 is a high vulnerability (CVSS 7.3) in Google Android, published January 1, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 22nd percentile. Fixed in platform/frameworks/base 8.0:2021-01-01.