CVE-2023-20957
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-20957 is a security vulnerability discovered in Android's SettingsPreferenceFragment.java component, specifically in the onAttach functionality. The vulnerability affects Android versions 11, 12, 12L, and was disclosed in the March 2023 security bulletin. This vulnerability allows for a potential bypass of Factory Reset Protections through a confused deputy attack vector (Android Bulletin).

Technical details

The vulnerability exists in the onAttach method of SettingsPreferenceFragment.java and could lead to local escalation of privilege with no additional execution privileges needed. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the following vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. This indicates that the vulnerability requires local access, has low attack complexity, requires low privileges, needs no user interaction, and can impact confidentiality, integrity, and availability at a high level (NVD).

Impact

The successful exploitation of this vulnerability could result in a bypass of Factory Reset Protections and local privilege escalation. This could potentially allow an attacker to gain elevated access to the device's resources and functionality without requiring additional execution privileges (Android Bulletin).

Mitigation and workarounds

Google has addressed this vulnerability in the March 2023 Android Security Bulletin. Users should update their Android devices to a security patch level of 2023-03-01 or later to protect against this vulnerability (Android 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-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025

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