CVE-2022-20452
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Nov 8, 2022
CISA due date
—
Cloudanix analysis
A problem in Android lets one app on the phone secretly gain extra powers it should not have, potentially letting it access everything on the device.
- 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
Confused deputy in initializeFromParcelLocked of BaseBundle.java permits arbitrary code execution during parcel deserialization, enabling local privilege escalation without additional permissions or user interaction on Android.
Why it matters to the business
Attackers with an existing foothold on Android devices can silently obtain full control, exposing user data, installed apps, and device integrity across the Android ecosystem; the issue remains unpatched in listed versions and has shown slight EPSS growth over 30 days.
How an attack unfolds
A malicious application on the device crafts a specially formed Bundle parcel that, when deserialized by a system component, causes the confused deputy to execute attacker-controlled code, resulting in privilege escalation to system level.
How to fix it
Apply the latest Android security patch that resolves A-240138318; monitor Google security bulletins for Android-13 fixes and deploy over-the-air updates to all affected devices as soon as available.
How to confirm the fix worked
Verify device is running a patched Android build containing the fix for A-240138318; confirm BaseBundle.java no longer contains the vulnerable initializeFromParcelLocked logic via source inspection or binary diff of system frameworks.
Typical attack path
- Deploy a malicious application to the target Android device via sideloading or compromised store.
- Trigger the vulnerable BaseBundle parcel deserialization path from the malicious app.
- Exploit the confused deputy to execute arbitrary code and escalate privileges.
- Perform post-exploitation actions such as data exfiltration or persistence.
How to detect it
Examine Android logs and app behavior for anomalous parcel handling or unexpected privilege changes originating from untrusted apps; correlate with system_server or framework crashes involving BaseBundle.
What your security team should do
- Prioritize deployment of Android security updates to all managed devices within the next patch cycle.
- Review enterprise mobile device management policies to enforce timely OS updates.
- Monitor threat intelligence feeds for any future exploit maturity or in-the-wild reports of this issue.
The record
In initializeFromParcelLocked of BaseBundle.java, there is a possible method arbitrary code execution due to a confused deputy. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-13Android ID: A-240138318
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Android | platform/frameworks/base | 13:0 | 13:2022-11-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