CVE-2022-20478
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Dec 13, 2022
CISA due date
—
Cloudanix analysis
A problem on Android phones and tablets lets someone with physical access take over more of the device than they should.
- 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
In NotificationChannel of NotificationChannel.java, resource exhaustion prevents persistence of permissions settings, enabling local privilege escalation without additional privileges or user interaction.
Why it matters to the business
Local attackers can gain elevated access on affected devices, increasing risk of unauthorized control and data exposure across widely deployed Android versions.
How an attack unfolds
An attacker with local access triggers resource exhaustion in notification channel handling to cause failure to persist permission settings, resulting in privilege escalation on the device.
How to fix it
Upgrade affected Android versions to patched releases; apply GitLab fixes where applicable in af6735ad95ff7a4578c8548d37ce9e8247385d5e and 81f47cb467e3387cea11b909ea6b977e28b3b4d2.
How to confirm the fix worked
Verify device is running a patched Android build and confirm notification permission settings persist correctly under resource pressure.
Typical attack path
- Obtain local access to the Android device
- Trigger resource exhaustion condition in NotificationChannel
- Exploit failure to persist permissions settings
- Achieve local privilege escalation
How to detect it
Review Android system logs for notification channel errors or permission persistence failures; check for unexpected privilege changes post-exploitation attempts.
What your security team should do
- Prioritize patching Android devices to versions beyond 13 where possible
- Monitor for local privilege escalation attempts in device logs
- Apply listed GitLab commit fixes if GitLab components are in use
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-241764135
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