Permanent denial of service via PackageManager#setPackagesSuspended with invalid SuspendParams.launcherExtras in platform/frameworks/base
Summary
CVE-2023-40074: In saveToXml of PersistableBundle.java, invalid data could lead to local persistent denial of service with no additional execution privileges needed. Affects platform/frameworks/base across 5 version ranges.
>= 11:0, < 11:2023-12-01
>= 12:0, < 12:2023-12-01
>= 12L:0, < 12L:2023-12-01
>= 13:0, < 13:2023-12-01
>= 14-next:0, < 14-next:2023-12-01
Fixed in 14-next:2023-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 platform/frameworks/base package is a fundamental component of the Android operating system. It provides core functionalities and APIs for various system services and applications. One of its key features is the PackageManager, which manages the installation, upgrade, and removal of applications on an Android device. This package is vulnerable to a permanent denial of service (DoS) attack when using the setPackagesSuspended method with invalid SuspendParams.launcherExtras.
Vulnerability Detail
The vulnerability arises from a flaw in the saveToXml function of PersistableBundle.java. By providing invalid data to the SuspendParams.launcherExtras parameter, an attacker can trigger a local persistent DoS attack without requiring additional execution privileges or user interaction. This vulnerability affects Android versions 11, 12, 12L, and 13. Exploitation of this vulnerability can lead to the unavailability of critical system services and applications, causing significant disruption to the device's functionality.
How To Fix
Minimum fixed version
14-next:2023-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
The vulnerability in the platform/frameworks/base package allows for a permanent denial of service attack on Android devices. It is crucial for developers to update their applications to the patched version of the package and validate input data to prevent exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/frameworks/base →
FAQ
This vulnerability can result in a permanent denial of service (DoS) attack on an Android device, rendering critical system services and applications unavailable.
No, user interaction is not needed for exploitation of this vulnerability.
This vulnerability affects Android versions 11, 12, 12L, and 13.
This vulnerability is classified as high severity.
More information about this vulnerability can be found in the Android Open Source Vulnerability database at the following source: https://storage.googleapis.com/android-osv/ASB-A-247513680.json
Related vulnerabilities
Recent vulnerabilities recorded for platform/frameworks/base.