CVE-2022-20395
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-20395 is a path traversal vulnerability discovered in the checkAccess function of MediaProvider.java in Android. The vulnerability was disclosed on September 13, 2022, affecting Android versions 11, 12, 12L, and 13. This security flaw could enable local attackers to perform file deletion operations through path traversal exploitation (NVD).

Technical details

The vulnerability exists in the checkAccess function of MediaProvider.java, where improper path validation could lead to unauthorized file deletion. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) (NVD).

Impact

The vulnerability allows local attackers to escalate privileges and perform unauthorized file deletion operations. No additional execution privileges are required for exploitation, and user interaction is not needed. The successful exploitation could lead to significant data loss and system integrity compromise (NVD).

Mitigation and workarounds

Google has addressed this vulnerability in the September 2022 Android Security Bulletin. Users are advised to update their Android devices to the latest available security patch level to protect against this vulnerability (Android Security Bulletin).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management