CVE-2022-20470: Privilege Escalation in com.android.server.appwidget.AppWidgetServiceImpl#bindRemoteViewsService

platform/frameworks/base Updated 02 Oct 2025

Summary

01/12/2022
Yes i
High
Not published

CVE-2022-20470: In bindRemoteViewsService of AppWidgetServiceImpl.java, there is a possible way to bypass background activity launch due to improper input validation. Affects platform/frameworks/base across 5 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 >= 13:0, < 13:2022-12-01

Fixed in 10:2022-12-01. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is com.android.server.appwidget.AppWidgetServiceImpl, which is a component of the Android framework. This package is responsible for managing app widgets on the Android platform. App widgets are small applications that can be embedded within other applications or displayed on the user's home screen. They provide users with quick access to frequently used features or information. AppWidgetServiceImpl handles the binding of remote views services for app widgets. Remote views services allow app widgets to display dynamic content and interact with the user. This package is vulnerable to a privilege escalation issue in the bindRemoteViewsService method.

Vulnerability Detail

The vulnerability in com.android.server.appwidget.AppWidgetServiceImpl#bindRemoteViewsService allows for a bypass of background activity launch due to improper input validation. This can lead to local escalation of privilege without requiring additional execution privileges. Exploitation of this vulnerability does not require user interaction. The impact of this vulnerability is that an attacker with access to the affected device can potentially gain elevated privileges and perform unauthorized actions. The vulnerability affects Android versions 10, 11, 12, 12L, and 13.

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 com.android.server.appwidget.AppWidgetServiceImpl package in the Android framework is vulnerable to a privilege escalation issue in the bindRemoteViewsService method. This vulnerability can be mitigated by updating the Android framework to a version that includes the fix. It is recommended to update to Android versions 10, 11, 12, 12L, or 13 to address this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

The impact of this vulnerability is that an attacker with access to the affected device can potentially gain elevated privileges and perform unauthorized actions.

No, exploitation of this vulnerability does not require user interaction.

This vulnerability affects Android versions 10, 11, 12, 12L, and 13.

Yes, the fix for this vulnerability was implemented in the Android framework starting from version 10 (API level 29) and up to version 13 (API level 33). Updating the Android framework to a version that includes the fix will mitigate the privilege escalation vulnerability.

No specific workaround is mentioned for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback