CVE-2022-20502
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Dec 13, 2022
CISA due date
—
Cloudanix analysis
A problem in Android lets apps already on the phone read private information they should not access.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability is a use-after-free condition caused by a stale cache entry in GetResolvedMethod within entrypoint_utils-inl.h, allowing a local attacker to read from previously freed memory regions and disclose sensitive information.
Why it matters to the business
Attackers with local access on affected Android devices can read sensitive user or system data without additional privileges or user interaction, increasing risk of information leakage on unpatched devices.
How an attack unfolds
An attacker installs or runs code locally on an Android device and invokes the affected method resolution path to trigger the stale cache, resulting in reads from freed memory that disclose information.
How to fix it
Apply the latest Android security patches addressing A-222166527 to resolve the stale cache in entrypoint_utils-inl.h; upgrade devices running Android-13 to a fixed release.
How to confirm the fix worked
Confirm devices are updated to a patched Android version beyond Android-13, review commit history for entrypoint_utils-inl.h changes, and perform targeted testing of method resolution to verify absence of use-after-free.
Typical attack path
- Obtain local code execution on the device (for example via a malicious application)
- Trigger method resolution through GetResolvedMethod with a stale cache entry
- Read sensitive data from the use-after-free memory region
How to detect it
Examine system logs for crashes or anomalies during method resolution; review application installation and execution events for suspicious local processes, though local exploitation may produce limited artifacts.
What your security team should do
- Prioritize deployment of Android security updates to all managed devices
- Restrict sideloading and review application permissions to limit local execution vectors
- Monitor device patch levels and maintain an inventory of Android versions in the environment
The record
In GetResolvedMethod of entrypoint_utils-inl.h, there is a possible use after free due to a stale cache. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-13Android ID: A-222166527
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Android | platform/art | 13:0 | 13:2022-12-01 |
| Ubuntu:18.04:LTS | android-platform-art | 0 | No fix |
| Ubuntu:20.04:LTS | android-platform-art | 0 | No fix |
| Ubuntu:22.04:LTS | android-platform-art | 0 | No fix |
| Ubuntu:22.04:LTS | android-platform-tools | 0 | No fix |
| Ubuntu:24.04:LTS | android-platform-art | 0 | No fix |
| Ubuntu:24.04:LTS | android-platform-tools | 0 | No fix |
| Ubuntu:24.10 | android-platform-art | 0 | No fix |
| Ubuntu:24.10 | android-platform-tools | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | android-platform-art | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | android-platform-art | 0 | No fix |
Related vulnerabilities
- CVE-2023-21034 In multiple functions of SensorService.cpp, there is a possible access of accurate sensor… Also affects android-platform-tools
- CVE-2023-21031 In setPowerMode of HWC2.cpp, there is a possible out of bounds read due to a race… Also affects android-platform-tools
- CVE-2022-20128 [Unknown description] Also affects android-platform-tools
- CVE-2026-109618 PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort… CWE-416
- CVE-2026-109619 PHP has various global state that temporarily points into request memory. CWE-416
- CVE-2026-112402 Pillow is a Python imaging library. CWE-416
- CVE-2026-112396 Pillow is a Python imaging library. CWE-416
- CVE-2025-55654 A use-after-free in the gf_filter_pid_get_packet function (filter_core/filter_pid.c) of… CWE-416