Android security tags, read closely by Lightrion

CVE-2023-21245 AI-generated analysis

platform/frameworks/base, SystemUI keyguard (packages/SystemUI/src/com/android/keyguard/KeyguardSecurityContainerController.java)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (5 corrections). Verify against the commit before relying on it.

Changes the SIM PIN/PUK shortcut in SystemUI's KeyguardSecurityContainerController so the bouncer is finished only when the target user's security mode is None AND (the lockscreen is disabled for the current user or the target user's setup is incomplete), instead of when the security mode is None OR the lockscreen is disabled.

Root cause

In KeyguardSecurityContainerController, the SimPin/SimPuk case ("Shortcut for SIM PIN/PUK to go to directly to user's security screen or home") set finish = true (BOUNCER_DISMISS_SIM) when securityMode == SecurityMode.None || mLockPatternUtils.isLockScreenDisabled(KeyguardUpdateMonitor.getCurrentUser()). The condition did not consider whether the target user's setup was complete. Per the commit message, the intent is that when user setup is not complete the device should not go to the lockscreen even if the lockscreen is not disabled. The diff also changes the OR to an AND; the material does not state which of these changes addresses the vulnerability.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to January 2024 · Findings