Android security tags, read closely by Lightrion

CVE-2023-40076 AI-generated analysis

platform/frameworks/base, services/credentials (CredentialManagerUi, Credential Manager service)

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 (8 corrections). Verify against the commit before relying on it.

The Credential Manager service (CredentialManagerUi) now creates the PendingIntent for its UI with PendingIntent.getActivityAsUser bound to UserHandle.of(mUserId) instead of PendingIntent.getActivity, which takes no explicit user.

Root cause

In services/credentials/java/com/android/server/credentials/CredentialManagerUi.java, the method that builds the Credential Manager UI intent (random UUID action, requestCode 0, FLAG_IMMUTABLE) returned PendingIntent.getActivity(mContext, 0, intent, FLAG_IMMUTABLE). That call does not tie the PendingIntent to the requesting user stored in the class field mUserId. The material does not show which user mContext resolves to. The bulletin rates the issue Critical, type ID (information disclosure); the material does not describe the disclosure path.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2023 · Findings