Android security tags, read closely by Lightrion

CVE-2023-45774 AI-generated analysis

platform/frameworks/base, ShortcutService (services/core/java/com/android/server/pm/ShortcutService.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 (11 corrections). Verify against the commit before relying on it.

ShortcutService now checks, while validating an incoming shortcut, that the calling UID can grant read access to the content URI behind a URI-based shortcut icon (Icon.TYPE_URI / TYPE_URI_ADAPTIVE_BITMAP), using UriGrantsManagerInternal.checkGrantUriPermission.

Root cause

In ShortcutService.java, the incoming-shortcut validation method patched by the hunk (it comes before fixUpIncomingShortcutInfo(ShortcutInfo, boolean)) called only ShortcutInfo.validateIcon(shortcut.getIcon()) on the icon. For icons of type Icon.TYPE_URI or Icon.TYPE_URI_ADAPTIVE_BITMAP, nothing checked that the calling UID had read access to the referenced content URI. The bulletin rates this High / EoP.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2023 · Findings