CVE-2022-20392: Privilege Escalation in platform/frameworks/base

platform/frameworks/base Updated 02 Oct 2025

Summary

01/09/2022
Yes i
High
Not published

CVE-2022-20392: In declareDuplicatePermission of ParsedPermissionUtils.java, there is a possible way to obtain a dangerous permission without user consent due to improper input validation. Affects platform/frameworks/base across 5 version ranges.

>= 10:0, < 10:2022-09-01 >= 11:0, < 11:2022-09-01 >= 12:0, < 12:2022-09-01 >= 12L:0, < 12L:2022-09-01 >= 13-next:0, < 13-next:2022-09-01

Fixed in 13-next:2022-09-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The package 'platform/frameworks/base' is a fundamental component of the Android ecosystem. It provides core functionalities and services for the Android operating system. This package is responsible for managing permissions, handling app installations and upgrades, and enforcing security policies. Unfortunately, a vulnerability has been discovered in this package that allows an attacker to obtain dangerous system permissions silently through duplicate permission declarations.

Vulnerability Detail

The vulnerability, identified as CVE-2022-20392, originates from improper input validation in the 'declareDuplicatePermission' function of 'ParsedPermissionUtils.java'. This flaw enables an attacker to escalate their privileges locally during app installation or upgrade without requiring additional execution privileges or user interaction. By exploiting this vulnerability, an attacker can bypass user consent and gain access to dangerous permissions, potentially leading to unauthorized access, data breaches, or other malicious activities.

How To Fix

Minimum fixed version

13-next:2022-09-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

Currently, there are no known workarounds for this vulnerability. It is recommended to apply the official fixes provided by the Android team.

Conclusion

The vulnerability (CVE-2022-20392) in the 'platform/frameworks/base' package exposes a critical privilege escalation issue in the Android operating system. It allows an attacker to obtain dangerous system permissions silently, bypassing user consent. To mitigate this vulnerability, it is crucial to update the affected package to the latest available version. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

This vulnerability allows an attacker to obtain dangerous system permissions silently, bypassing user consent. It can lead to local privilege escalation and potential unauthorized access, data breaches, or other malicious activities.

No, user interaction is not needed for exploitation. The vulnerability can be exploited during app installation or upgrade without requiring additional execution privileges.

The vulnerability affects Android versions 10, 11, 12, and 12L.

There are no known instances of this vulnerability being exploited in the wild at the time of this report.

You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert Playground allows you to analyze your application without requiring access to the code or installation. Simply upload your gradle.lockfile to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities, including this one.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

13-next:2022-09-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