Android security tags, read closely by Lightrion

CVE-2024-0037 AI-generated analysis

platform/frameworks/base, system_server Autofill service (services/autofill: Helper, SaveUi, RemoteInlineSuggestionViewConnector)

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.

Adds cross-user URI ownership checks to Autofill UI content supplied by the autofill service. A new Helper.sanitizeSlice() gates inline suggestion rendering in RemoteInlineSuggestionViewConnector.renderSuggestion. SaveUi now passes CustomDescription BatchUpdates RemoteViews through Helper.sanitizeRemoteView. sanitizeRemoteView now resolves URIs that carry no explicit user against the checked userId.

Root cause

Two autofill UI paths rendered service-supplied content without checking which user owns the embedded content URIs. (1) SaveUi.applyCustomDescription applied batchUpdates.getUpdates() RemoteViews directly via reapply(), without the pre-existing Helper.sanitizeRemoteView URI check. (2) RemoteInlineSuggestionViewConnector.renderSuggestion forwarded the InlinePresentation Slice to the remote render service without inspecting the Icon URIs (TYPE_URI / TYPE_URI_ADAPTIVE_BITMAP) in its SliceItems. In addition, sanitizeRemoteView used the one-argument ContentProvider.getUserIdFromUri(uri), so URIs without an explicit user component were not resolved against the userId being checked.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to February 2025 · Findings