CVE-2022-20220: Path Traversal in CallLogProvider

Summary

01/07/2022
Yes i
High
Not published

CVE-2022-20220: In openFile of CallLogProvider.java, there is a possible permission bypass due to a path traversal error. Affects platform/packages/providers/ContactsProvider across 2 version ranges.

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

Fixed in 12:2022-07-05. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ContactsProvider package in the Android ecosystem is responsible for managing call logs. It provides functionality for storing, retrieving, and updating call log information on Android devices. The CallLogProvider component is a part of this package and is responsible for handling file operations related to call logs.

Vulnerability Detail

The vulnerability (CVE-2022-20220) is a path traversal error present in the openFile function of the CallLogProvider.java file. This flaw allows an attacker to bypass permissions and potentially escalate privileges locally. Exploitation of this vulnerability does not require user interaction. The impact of successful exploitation could lead to an elevation of privileges, with the attacker gaining execution privileges.

How To Fix

Minimum fixed version

12:2022-07-05

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. The recommended approach is to apply the fix by updating the ContactsProvider package.

Conclusion

The path traversal vulnerability in the CallLogProvider component of the ContactsProvider package can lead to local privilege escalation. It is recommended to update the package to version 12 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/providers/ContactsProvider →

Share this vulnerability

FAQ

Successful exploitation of this vulnerability could allow an attacker to escalate privileges locally, potentially gaining execution privileges.

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

The vulnerability was introduced in version 12 of the ContactsProvider package. All versions prior to the fix (12 and earlier) are affected.

Yes, the fix for this vulnerability was implemented in version 12 of the ContactsProvider package, released on July 5, 2022.

You can find more information about this vulnerability in the Android Open Source Vulnerabilities database. The vulnerability details can be accessed using the provided source link.

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/providers/ContactsProvider.

How To Fix

Minimum fixed version

12:2022-07-05

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