CVE-2022-20491
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Dec 13, 2022
CISA due date
—
Cloudanix analysis
A flaw in Android's notification handling can let apps on a phone or tablet gain more access than they should without the user noticing.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Resource exhaustion in NotificationChannel prevents persistence of permission settings, allowing a local process to retain elevated privileges after exhaustion occurs.
Why it matters to the business
Android devices remain exposed to local privilege escalation long after disclosure, increasing risk of unauthorized access to sensitive data on endpoints that cannot or have not received updates; prevalence across the Android ecosystem amplifies operational exposure.
How an attack unfolds
An attacker with an existing local foothold crafts repeated operations against NotificationChannel to exhaust resources, causing permission settings to fail to persist and thereby retaining or obtaining higher privileges without user interaction or additional rights.
How to fix it
Apply the latest Android security patches addressing A-242703556; where fixed versions are unavailable in the environment, restrict untrusted applications and monitor for anomalous notification behavior until devices can be updated.
How to confirm the fix worked
Confirm the presence of the security patch in the Android build fingerprint or source tree for NotificationChannel.java; test by attempting resource exhaustion scenarios and verifying that permission settings persist correctly.
Typical attack path
- Obtain local code execution as an unprivileged app or process on the device
- Trigger repeated NotificationChannel operations to induce resource exhaustion
- Observe failure of permission persistence and exercise retained elevated capabilities
- Access protected data or perform actions requiring higher privileges
How to detect it
Examine system logs for repeated NotificationChannel resource exhaustion events or permission persistence failures; correlate with process activity attempting to modify notification settings.
What your security team should do
- Prioritize patching Android devices to the latest security update level
- Inventory devices running Android 10 through 13 and enforce update policies
- Limit sideloading of applications until patches are applied
- Review endpoint detection rules for local privilege escalation indicators
The record
In NotificationChannel of NotificationChannel.java, there is a possible failure to persist permissions settings due to resource exhaustion. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-12 Android-12L Android-13Android ID: A-242703556
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Android | platform/frameworks/base | 10:0 | 10:2022-12-01 |
| Android | platform/frameworks/base | 11:0 | 11:2022-12-01 |
| Android | platform/frameworks/base | 12:0 | 12:2022-12-01 |
| Android | platform/frameworks/base | 12L:0 | 12L:2022-12-01 |
| Android | platform/frameworks/base | 13:0 | 13:2022-12-01 |
| Ubuntu:16.04:LTS | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:18.04:LTS | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:20.04:LTS | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:22.04:LTS | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:24.04:LTS | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:24.10 | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | android-platform-frameworks-base | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | android-platform-frameworks-base | 0 | No fix |
Related vulnerabilities
- CVE-2025-48631 In onHeaderDecoded of LocalImageResolver.java, there is a possible persistent denial of… Also affects platform/frameworks/base
- CVE-2024-32896 there is a possible way to bypass due to a logic error in the code. Also affects platform/frameworks/base
- CVE-2024-0053 In getCustomPrinterIcon of PrintManagerService.java, there is a possible way to view… Also affects platform/frameworks/base
- CVE-2024-0048 In Session of AccountManagerService.java, there is a possible method to retain foreground… Also affects platform/frameworks/base
- CVE-2024-0046 In installExistingPackageAsUser of InstallPackageHelper.java, there is a possible carrier… Also affects platform/frameworks/base
- CVE-2023-40094 In keyguardGoingAway of ActivityTaskManagerService.java, there is a possible lock screen… Also affects platform/frameworks/base
- CVE-2023-40074 In saveToXml of PersistableBundle.java, invalid data could lead to local persistent… Also affects platform/frameworks/base
- CVE-2023-35668 In visitUris of Notification.java, there is a possible way to display images from another… Also affects platform/frameworks/base