Every CVESearch/Get API key

CVE-2021-0331

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack...

7.3 HighPublic exploitFix available

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-170731783

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

0.29%Up 0.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used7.3

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-170731783

Record
CVE-2021-0331
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.9 MediumAV:L/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-1021
Updated
2026-11-02
CVE ListNo score

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-170731783

Record
CVE-2021-0331
Updated
2026-11-02
EUVDEUVD-2021-2950No score

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-170731783

Record
EUVD-2021-2950
Updated
2026-11-03
GitHub AdvisoriesGHSA-9vc6-7g98-392vNo score

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack...

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-170731783

Record
GHSA-9vc6-7g98-392v
Weakness
CWE-1021
Updated
2026-11-02
OSVASB-A-170731783No score

In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.

Record
ASB-A-170731783
Updated
2026-11-10

Affected products

Affected packages

Affected packages
PackageAffectedFixed
platform/packages/apps/Settings
Android
8.0:0 up to 8.0:2021-02-01, plus listed versions
8.0
8.0:2021-02-01
platform/packages/apps/Settings
Android
8.1:0 up to 8.1:2021-02-01, plus listed versions
8.1
8.1:2021-02-01
platform/packages/apps/Settings
Android
9:0 up to 9:2021-02-01, plus listed versions
9
9:2021-02-01
platform/packages/apps/Settings
Android
10:0 up to 10:2021-02-01, plus listed versions
10
10:2021-02-01
platform/packages/apps/Settings
Android
11:0 up to 11:2021-02-01, plus listed versions
11
11:2021-02-01

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubSatheesh575555/packages_apps_Settings_AOSP10_r33_CVE-2021-03312022-04-15

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-0331 is a high vulnerability (CVSS 7.3) in Google Android, published February 1, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in platform/packages/apps/Settings 8.0:2021-02-01.

References

MoveEnter Open