CVE-2022-20226: SF Security Vulnerability, Privilege Escalation through transaction merging

platform/frameworks/base Updated 02 Oct 2025

Summary

01/07/2022
Yes i
High
Not published

CVE-2022-20226: In finishDrawingWindow of WindowManagerService.java, there is a possible tapjacking due to improper input validation. Affects platform/frameworks/base across 2 version ranges.

>= 12:0, < 12:2022-07-01 >= 12L:0, < 12L:2022-07-01

Fixed in 12:2022-07-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The package under scrutiny is platform/frameworks/base in the Android ecosystem. It is responsible for providing the fundamental building blocks and essential functionalities for the Android operating system. This package includes various components such as the WindowManagerService, which manages the windows and user interfaces. The vulnerability affects versions 12 and 12L of the package.

Vulnerability Detail

The vulnerability, identified as CVE-2022-20226, resides in the finishDrawingWindow function of WindowManagerService.java. It is categorized as a tapjacking vulnerability caused by improper input validation. An attacker can exploit this vulnerability by tricking a user into interacting with a malicious window, leading to local privilege escalation. The attacker would require user execution privileges to successfully exploit the vulnerability. This vulnerability has a high severity rating and was published on July 1, 2022.

How To Fix

Minimum fixed version

12:2022-07-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

No specific workaround has been mentioned for this vulnerability.

Conclusion

In conclusion, the SF Security Vulnerability (CVE-2022-20226) in the platform/frameworks/base package of the Android ecosystem allows for privilege escalation through transaction merging. It is crucial to update the affected package 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 →

Share this vulnerability

FAQ

This vulnerability can lead to local privilege escalation, allowing an attacker to gain elevated privileges on the affected Android device.

Versions 12 and 12L of the platform/frameworks/base package in the Android ecosystem are affected by this vulnerability.

Yes, user interaction is needed for the successful exploitation of this vulnerability.

This vulnerability has a high severity rating.

This vulnerability was published on July 1, 2022.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

12:2022-07-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