{"id":"ASB-A-182584940","details":"In onCreate of DevicePickerFragment.java, there is a possible way to trick the user to select an unwanted bluetooth device due to a tapjacking/overlay attack. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.","aliases":["A-182584940","CVE-2021-0586"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2021-07-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2021-07-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/packages/apps/Settings/+/42be5cfa1029ff3e3f451289b3368631ed77f4fb"}],"affected":[{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-07-01"}]}],"versions":["8.1"],"ecosystem_specific":{"vanir_signatures":[{"digest":{"line_hashes":["89754257172270225248411921435901208694","307449310241202561335784537161359314524","227119723983276548918280128525316827035","296513541006712726874310308423939158412","131006467505704856492643698964690847307"],"threshold":0.9},"id":"ASB-A-182584940-5fb5f901","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/9d99e0b3ff7f05c464a22fe0e0d965d8468cdfc1","target":{"file":"src/com/android/settings/bluetooth/DevicePickerActivity.java"},"deprecated":false},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/9d99e0b3ff7f05c464a22fe0e0d965d8468cdfc1","target":{"file":"src/com/android/settings/bluetooth/DevicePickerActivity.java","function":"onCreate"},"deprecated":false,"digest":{"function_hash":"287896226157197123009156940119505803778","length":115},"id":"ASB-A-182584940-adec9e5d"}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/9d99e0b3ff7f05c464a22fe0e0d965d8468cdfc1"],"severity":"High","spl":"2021-07-01","types":["EoP"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-182584940.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-07-01"}]}],"versions":["9"],"ecosystem_specific":{"types":["EoP"],"vanir_signatures":[{"id":"ASB-A-182584940-35f09c54","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/9d99e0b3ff7f05c464a22fe0e0d965d8468cdfc1","target":{"file":"src/com/android/settings/bluetooth/DevicePickerActivity.java","function":"onCreate"},"deprecated":false,"digest":{"length":115,"function_hash":"287896226157197123009156940119505803778"}},{"id":"ASB-A-182584940-af16ad7e","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/9d99e0b3ff7f05c464a22fe0e0d965d8468cdfc1","target":{"file":"src/com/android/settings/bluetooth/DevicePickerActivity.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["89754257172270225248411921435901208694","307449310241202561335784537161359314524","227119723983276548918280128525316827035","296513541006712726874310308423939158412","131006467505704856492643698964690847307"]}}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/9d99e0b3ff7f05c464a22fe0e0d965d8468cdfc1"],"severity":"High","spl":"2021-07-01"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-182584940.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-07-01"}]}],"versions":["10"],"ecosystem_specific":{"vanir_signatures":[{"digest":{"line_hashes":["177151231869695681414206662620331202543","280964628619041218799080630881054782971","227119723983276548918280128525316827035","296513541006712726874310308423939158412","131006467505704856492643698964690847307"],"threshold":0.9},"id":"ASB-A-182584940-17a32afe","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/68f799a4c6afc3b96b354d1b8b970780bb6cf58a","target":{"file":"src/com/android/settings/bluetooth/DevicePickerActivity.java"},"deprecated":false},{"target":{"function":"onCreate","file":"src/com/android/settings/bluetooth/DevicePickerActivity.java"},"deprecated":false,"digest":{"function_hash":"287896226157197123009156940119505803778","length":115},"id":"ASB-A-182584940-3eff1242","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/68f799a4c6afc3b96b354d1b8b970780bb6cf58a"}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/68f799a4c6afc3b96b354d1b8b970780bb6cf58a"],"severity":"High","spl":"2021-07-01","types":["EoP"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-182584940.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-07-01"}]}],"versions":["11"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/68f799a4c6afc3b96b354d1b8b970780bb6cf58a"],"severity":"High","spl":"2021-07-01","types":["EoP"],"vanir_signatures":[{"digest":{"function_hash":"287896226157197123009156940119505803778","length":115},"id":"ASB-A-182584940-4fce1b3f","signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/68f799a4c6afc3b96b354d1b8b970780bb6cf58a","target":{"file":"src/com/android/settings/bluetooth/DevicePickerActivity.java","function":"onCreate"},"deprecated":false},{"id":"ASB-A-182584940-7450b401","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/68f799a4c6afc3b96b354d1b8b970780bb6cf58a","target":{"file":"src/com/android/settings/bluetooth/DevicePickerActivity.java"},"deprecated":false,"digest":{"line_hashes":["177151231869695681414206662620331202543","280964628619041218799080630881054782971","227119723983276548918280128525316827035","296513541006712726874310308423939158412","131006467505704856492643698964690847307"],"threshold":0.9}}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-182584940.json"}}],"schema_version":"1.9.0"}