{"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-04-20T15:37:26.169566Z","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"],"spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"]},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-b5f7c870","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"},{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"signature_type":"Function","digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-bcb9c86d","source":"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":"8.1:0"},{"fixed":"8.1:2021-02-01"}]}],"versions":["8.1"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"]},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-5d90ab4b","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"},{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"signature_type":"Function","digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-c1e14807","source":"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":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"signature_type":"Function","digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-7583202e","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"},{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"]},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-cfb48251","source":"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":"10:0"},{"fixed":"10:2021-02-01"}]}],"versions":["10"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"]},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-2e174cc7","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"},{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"signature_type":"Function","digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-3235404b","source":"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":"11:0"},{"fixed":"11:2021-02-01"}]}],"versions":["11"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"],"spl":"2021-02-01","types":["EoP"],"vanir_signatures":[{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java","function":"onReceive"},"signature_type":"Function","digest":{"length":4407,"function_hash":"254086298093462912306453533651217985879"},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-4d9dfbae","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"},{"target":{"file":"src/com/android/settings/bluetooth/BluetoothPermissionRequest.java"},"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["74645274398598483034025413723469293981","160557484114296298603609612894208182302","188846484198463092366458891630091667255","227878806990682516032852430723126131138"]},"deprecated":false,"signature_version":"v1","id":"ASB-A-158219161-7431f4dd","source":"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.7.5"}