CVE-2023-21247
NixOS vulnerability analysis and mitigation

Overview

In getAvailabilityStatus of BluetoothScanningMainSwitchPreferenceController.java, there is a possible way to bypass a device policy restriction due to a missing permission check. This vulnerability (CVE-2023-21247) affects Android versions 12.0, 12.1, and 13.0. The vulnerability was disclosed in July 2023 and patched in the Android Security Bulletin (Android Bulletin).

Technical details

The vulnerability exists in the BluetoothScanningMainSwitchPreferenceController.java component of Android's Settings application. It stems from a missing permission check that could allow bypassing the DISALLOWCONFIGLOCATION device policy restriction. The severity is rated as HIGH with a CVSS v3.1 Base Score of 7.8 (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The vulnerability is classified under CWE-862 (Missing Authorization) (NVD Database).

Impact

A successful exploitation of this vulnerability could lead to local escalation of privilege with no additional execution privileges needed. The attacker could potentially bypass location service restrictions for Bluetooth scanning, compromising the device's security policy enforcement (NVD Database).

Mitigation and workarounds

Google has released a patch that addresses this vulnerability by making location service's MainSwitchPreference pages for Bluetooth scanning unavailable when DISALLOWCONFIGLOCATION is set, thereby disabling direct access through intents. The fix was implemented in the Android Settings application (Android Git).

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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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