CVE-2022-20487
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Dec 13, 2022
CISA due date
—
Cloudanix analysis
A bug in Android could let apps already on the device quietly keep extra permissions they should lose, giving them more access than intended.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- 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.java prevents permission settings from being persisted, allowing a local process to retain or gain elevated privileges without user interaction.
Why it matters to the business
Devices running affected Android versions could be compromised by malicious apps already installed, leading to unauthorized access to user data and system capabilities with minimal attacker effort.
How an attack unfolds
An attacker installs or controls a local app that triggers repeated resource exhaustion conditions against the notification subsystem, causing permission changes to be lost and thereby maintaining or escalating privileges on the device.
How to fix it
Update affected Android devices to the latest vendor-provided security patch that resolves the resource-exhaustion condition in NotificationChannel handling.
How to confirm the fix worked
Confirm the device is running a patched Android build; review source history for NotificationChannel.java changes addressing persistence under exhaustion; test permission changes under simulated resource pressure.
Typical attack path
- Obtain local execution via installed application or adb access
- Trigger resource exhaustion in the NotificationChannel handling code
- Perform permission modification operations that fail to persist
- Retain or obtain elevated capabilities without further user interaction
How to detect it
Review Android system logs and notification subsystem traces for repeated resource-exhaustion events correlated with permission changes; examine app behavior for unexpected retention of notification-related permissions.
What your security team should do
- Prioritize deployment of Android security updates to all managed devices
- Monitor vendor bulletins for the specific patch addressing A-242703202
- Enforce app-vetting policies to limit unnecessary notification or permission-related privileges
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-242703202
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