CVE-2022-20476: Permanent denial of service via PackageManager#setComponentEnabledSetting
Summary
CVE-2022-20476: In setEnabledSetting of PackageManager.java, there is a possible way to get the device into an infinite reboot loop due to resource exhaustion. Affects platform/frameworks/base across 4 version ranges.
>= 10:0, < 10:2022-12-01
>= 11:0, < 11:2022-12-01
>= 12:0, < 12:2022-12-01
>= 12L:0, < 12L:2022-12-01
Fixed in 10:2022-12-01. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The package under scrutiny is platform/frameworks/base, which is a part of the Android ecosystem. It provides fundamental functionalities and services for the Android operating system. PackageManager.java is a component of this package that manages the installation, upgrade, and removal of applications on the device. It also controls the enabled state of components within the system. This vulnerability specifically affects the setComponentEnabledSetting method in PackageManager.java.
Vulnerability Detail
The setComponentEnabledSetting method in PackageManager.java has a vulnerability that can lead to a permanent denial of service. By exploiting this vulnerability, an attacker can cause the device to enter an infinite reboot loop due to resource exhaustion. This can be achieved without requiring any additional execution privileges or user interaction. The impact of this vulnerability is a local denial of service, rendering the device unusable until the issue is resolved.
How To Fix
Minimum fixed version
10:2022-12-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
There is no specific workaround mentioned for this vulnerability.
Conclusion
In conclusion, the vulnerability CVE-2022-20476 in the PackageManager#setComponentEnabledSetting method of the platform/frameworks/base package can lead to a permanent denial of service. It is crucial to update the affected Android operating system versions to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/frameworks/base →
FAQ
The impact of this vulnerability is a local denial of service, where the device enters an infinite reboot loop due to resource exhaustion.
No, this vulnerability can be exploited without requiring any additional execution privileges.
No, user interaction is not needed for exploitation of this vulnerability.
This vulnerability affects versions 10, 11, 12, and 12L of the Android operating system.
To mitigate the risk of exploitation, it is recommended to update the platform/frameworks/base package to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for platform/frameworks/base.