CVE-2023-21251
NixOS vulnerability analysis and mitigation

Overview

In onCreate of ConfirmDialog.java, there is a possible way to connect to VPN bypassing user's consent due to improper input validation. This vulnerability (CVE-2023-21251) affects Android versions 11.0, 12.0, 13.0, and 13.1. The vulnerability was disclosed in the July 2023 Android Security Bulletin and requires user execution privileges for exploitation (Android Bulletin, NVD).

Technical details

The vulnerability exists in the VPN dialog component of Android's framework, specifically in the onCreate method of ConfirmDialog.java. The issue stems from improper sanitization of VPN labels, which could allow HTML injection. A malicious VPN application could potentially add a large number of line breaks with HTML to hide system-displayed text from the user in the connection request dialog. The vulnerability has been assigned a CVSS v3.1 base score of 7.3 (HIGH) with the vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

If successfully exploited, this vulnerability could lead to local escalation of privilege with user execution privileges needed. The attacker could potentially bypass user consent mechanisms in VPN connections, potentially allowing unauthorized VPN connections to be established (NVD).

Mitigation and workarounds

Google has released a patch that sanitizes the content of VpnDialog. The fix includes a function to sanitize VPN labels and displays the package name instead of the VPN label if sanitization detects potential HTML tags or misleading content. The patch was implemented in the Android framework base (Android Patch).

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-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 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