CVE-2022-20465: Unlocking SIM PUK results in unlocking phone directly in Android platform/frameworks/base

platform/frameworks/base Updated 02 Oct 2025

Summary

01/11/2022
Yes i
High
Not published

CVE-2022-20465: In dismiss and related functions of KeyguardHostViewController.java and related files, there is a possible lockscreen bypass due to a logic error in the code. Affects platform/frameworks/base versions < 10:2022-11-01. Fixed in 10:2022-11-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 Android platform/frameworks/base package is a fundamental component of the Android operating system. It provides core functionalities and services for various system processes and user applications. This package includes the KeyguardHostViewController.java file, which is responsible for managing the lockscreen and related functions. The lockscreen is a crucial security feature that prevents unauthorized access to the device. However, a vulnerability in the code of KeyguardHostViewController.java allows for a logic error that can bypass the lockscreen, leading to a local privilege escalation. This vulnerability affects Android versions 10 and above.

Vulnerability Detail

The vulnerability arises from a logic error in the dismiss and related functions of KeyguardHostViewController.java. By exploiting this flaw, an attacker can bypass the lockscreen without requiring any additional execution privileges or user interaction. This can result in a local escalation of privilege, granting unauthorized access to the device. The impact of this vulnerability is significant as it undermines the security provided by the lockscreen and can potentially expose sensitive user data and compromise the device's integrity.

How To Fix

Minimum fixed version

10:2022-11-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 known workaround for this vulnerability. It is essential to apply the provided patch or update the affected Android devices to a fixed version as soon as possible.

Conclusion

The vulnerability in the Android platform/frameworks/base package allows for a lockscreen bypass, leading to a local privilege escalation. It is crucial to apply the provided patch or update the affected Android devices to a fixed version to mitigate the risk of unauthorized access and potential compromise of sensitive data. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

The vulnerability allows an attacker to bypass the lockscreen and gain unauthorized access to the device, potentially exposing sensitive user data and compromising the device's integrity.

This vulnerability affects Android versions 10 and above.

No, user interaction is not needed for exploitation of this vulnerability.

No, there are no known workarounds for this vulnerability. It is crucial to apply the provided patch or update the affected Android devices to a fixed version.

You can find more information about this vulnerability in the Android Open Source Vulnerability database: https://storage.googleapis.com/android-osv/ASB-A-218500036.json

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

10:2022-11-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