{"id":"ASB-A-158219161","details":"In onReceive of BluetoothPermissionRequest.java, there is a possible permissions bypass due to a mutable PendingIntent. This could lead to local escalation of privilege that bypasses a permission check, with User execution privileges needed. User interaction is not needed for exploitation.","aliases":["A-158219161","CVE-2021-0336"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2021-02-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2021-02-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"}],"affected":[{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0:0"},{"fixed":"8.0:2021-02-01"}]}],"versions":["8.0"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"severity":"High","spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"digest":{"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"],"threshold":0.9},"id":"ASB-A-158219161-b5f7c870","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"deprecated":false},{"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"deprecated":false,"digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"id":"ASB-A-158219161-bcb9c86d","signature_type":"Function","signature_version":"v1"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-02-01"}]}],"versions":["8.1"],"ecosystem_specific":{"spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"id":"ASB-A-158219161-5d90ab4b","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"deprecated":false,"digest":{"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"],"threshold":0.9}},{"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"deprecated":false,"digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"id":"ASB-A-158219161-c1e14807","signature_type":"Function","signature_version":"v1"}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-02-01"}]}],"versions":["9"],"ecosystem_specific":{"types":["EoP"],"vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"deprecated":false,"digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"id":"ASB-A-158219161-7583202e"},{"source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"deprecated":false,"digest":{"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"],"threshold":0.9},"id":"ASB-A-158219161-cfb48251","signature_type":"Line","signature_version":"v1"}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"severity":"High","spl":"2021-02-01"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-02-01"}]}],"versions":["10"],"ecosystem_specific":{"vanir_signatures":[{"digest":{"threshold":0.9,"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"]},"id":"ASB-A-158219161-2e174cc7","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"deprecated":false},{"target":{"function":"onReceive","file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"deprecated":false,"digest":{"function_hash":"254086298093462912306453533651217985879","length":4407},"id":"ASB-A-158219161-3235404b","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"severity":"High","spl":"2021-02-01","types":["EoP"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-02-01"}]}],"versions":["11"],"ecosystem_specific":{"spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"deprecated":false,"digest":{"function_hash":"254086298093462912306453533651217985879","length":4407},"id":"ASB-A-158219161-4d9dfbae"},{"id":"ASB-A-158219161-7431f4dd","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f","target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"]}}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"}}],"schema_version":"1.9.0"}