CVE-2022-20493: Notification Access Granting Vulnerability in Android Frameworks Base

platform/frameworks/base Updated 02 Oct 2025

Summary

01/01/2023
Yes i
High
Not published

CVE-2022-20493: In Condition of Condition.java, there is a possible way to grant notification access due to improper input validation. Affects platform/frameworks/base across 5 version ranges.

>= 10:0, < 10:2023-01-01 >= 11:0, < 11:2023-01-01 >= 12:0, < 12:2023-01-01 >= 12L:0, < 12L:2023-01-01 >= 13:0, < 13:2023-01-01

Fixed in 10:2023-01-01. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Android Frameworks Base is a fundamental component of the Android operating system that provides essential functionalities and services for the platform. It includes various libraries, APIs, and system resources that enable the development and execution of Android applications. One of its features is the notification access control, which allows apps to receive and interact with notifications from other apps. However, a vulnerability has been identified in the Condition.java file, which handles the granting of notification access. This vulnerability can be exploited to automatically turn on notification access without the user's awareness, potentially leading to a local escalation of privilege.

Vulnerability Detail

The vulnerability arises from improper input validation in the Condition.java file. By exploiting this flaw, an attacker can manipulate the ZenRule#condition to grant notification access without the user's knowledge or consent. This privilege escalation does not require any additional execution privileges and can be achieved with user interaction. The impact of this vulnerability is significant as it allows an attacker to gain unauthorized access to sensitive notifications, potentially compromising user privacy and security.

How To Fix

Minimum fixed version

10:2023-01-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there is no known workaround for this vulnerability. It is recommended to apply the official fix as soon as it becomes available to mitigate the risk of exploitation.

Conclusion

The notification access granting vulnerability in Android Frameworks Base poses a significant risk to user privacy and security. It allows attackers to gain unauthorized access to sensitive notifications without the user's awareness. It is crucial for developers to promptly apply the provided fix to mitigate the vulnerability and protect their applications and users. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

The vulnerability allows an attacker to automatically grant notification access without the user's awareness, potentially leading to a local escalation of privilege. This can compromise user privacy and security.

Yes, user interaction is needed for exploitation of this vulnerability.

The vulnerability affects Android Frameworks Base versions 10, 11, 12, 12L, and 13.

Yes, a fix has been released for this vulnerability. Developers should update their Android Frameworks Base package to the fixed version.

More information about the fix can be found in the official Android source code repository. The provided link in the vulnerability details section points to the specific commit that addresses this issue.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

10:2023-01-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback