CVE-2022-20476
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Dec 13, 2022
CISA due date
—
Cloudanix analysis
A flaw in device software can make the device restart endlessly on its own, locking users out until it is fixed.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local resource exhaustion in PackageManager.setEnabledSetting triggers an infinite reboot loop without requiring additional privileges or user interaction.
Why it matters to the business
Devices become unusable through repeated forced restarts, causing operational downtime and loss of availability for end users.
How an attack unfolds
An attacker with local access invokes the vulnerable setting function to exhaust system resources, forcing the device into a persistent reboot cycle.
How to fix it
Apply the fixed version lua/lua (GIT) commit 42d40581dd919fb134c07027ca1ce0844c670daf or later.
How to confirm the fix worked
Confirm the updated commit is present in the package manager source and test that repeated setting changes no longer cause reboot loops.
Typical attack path
- Obtain local access on the device
- Invoke setEnabledSetting to trigger resource exhaustion
- Force repeated reboots resulting in denial of service
How to detect it
Review system logs for repeated PackageManager calls followed by reboot events and resource exhaustion indicators.
What your security team should do
- Prioritize patching affected Android versions 10 through 12L to the fixed commit
- Monitor device availability metrics for unexpected reboot patterns
- Apply updates within standard maintenance windows given the low EPSS and absence from KEV
The record
In setEnabledSetting of PackageManager.java, there is a possible way to get the device into an infinite reboot loop due to resource exhaustion. This could lead to local denial of service with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-12 Android-12LAndroid ID: A-240936919
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 |
| Ubuntu:18.04:LTS | android-framework-23 | 0 | No fix |
| Ubuntu:20.04:LTS | android-framework-23 | 0 | No fix |
| Ubuntu:22.04:LTS | android-framework-23 | 0 | No fix |
| Ubuntu:24.04:LTS | android-framework-23 | 0 | No fix |
| Ubuntu:24.10 | android-framework-23 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | android-framework-23 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | android-framework-23 | 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