Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
Related vulnerabilities
ASB-A-158219161 (CVE-2021-0336)
Vulnerability from osv_android – Published: 2021-02-01 00:00 – Updated: 2026-11-18 17:10 – Source website
VLAI
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
References
2 references
Impacted products
5 products
| Ecosystem | Package | Version |
|---|---|---|
| Android | platform/packages/apps/Settings |
Affected: ≥ 8.0:0, < 8.0:2021-02-01 (ecosystem)
8.0
|
| Android | platform/packages/apps/Settings |
Affected: ≥ 8.1:0, < 8.1:2021-02-01 (ecosystem)
8.1
|
| Android | platform/packages/apps/Settings |
Affected: ≥ 9:0, < 9:2021-02-01 (ecosystem)
9
|
| Android | platform/packages/apps/Settings |
Affected: ≥ 10:0, < 10:2021-02-01 (ecosystem)
10
|
| Android | platform/packages/apps/Settings |
Affected: ≥ 11:0, < 11:2021-02-01 (ecosystem)
11
|
{
"affected": [
{
"ecosystem_specific": {
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"
],
"severity": "High",
"spl": "2021-02-01",
"types": [
"EoP"
],
"vanir_signatures": [
{
"deprecated": false,
"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,
"digest": {
"function_hash": "254086298093462912306453533651217985879",
"length": 4407
},
"id": "ASB-A-158219161-bcb9c86d",
"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"
}
}
]
},
"package": {
"ecosystem": "Android",
"name": "platform/packages/apps/Settings"
},
"ranges": [
{
"events": [
{
"introduced": "8.0:0"
},
{
"fixed": "8.0:2021-02-01"
}
],
"type": "ECOSYSTEM"
}
],
"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": [
{
"deprecated": false,
"digest": {
"line_hashes": [
"74645274398598483034025413723469293981",
"160557484114296298603609612894208182302",
"188846484198463092366458891630091667255",
"227878806990682516032852430723126131138"
],
"threshold": 0.9
},
"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": {
"function_hash": "254086298093462912306453533651217985879",
"length": 4407
},
"id": "ASB-A-158219161-c1e14807",
"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"
}
}
]
},
"package": {
"ecosystem": "Android",
"name": "platform/packages/apps/Settings"
},
"ranges": [
{
"events": [
{
"introduced": "8.1:0"
},
{
"fixed": "8.1:2021-02-01"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.1"
]
},
{
"ecosystem_specific": {
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"
],
"severity": "High",
"spl": "2021-02-01",
"types": [
"EoP"
],
"vanir_signatures": [
{
"deprecated": false,
"digest": {
"function_hash": "254086298093462912306453533651217985879",
"length": 4407
},
"id": "ASB-A-158219161-7583202e",
"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": {
"line_hashes": [
"74645274398598483034025413723469293981",
"160557484114296298603609612894208182302",
"188846484198463092366458891630091667255",
"227878806990682516032852430723126131138"
],
"threshold": 0.9
},
"id": "ASB-A-158219161-cfb48251",
"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"
}
}
]
},
"package": {
"ecosystem": "Android",
"name": "platform/packages/apps/Settings"
},
"ranges": [
{
"events": [
{
"introduced": "9:0"
},
{
"fixed": "9:2021-02-01"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9"
]
},
{
"ecosystem_specific": {
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"
],
"severity": "High",
"spl": "2021-02-01",
"types": [
"EoP"
],
"vanir_signatures": [
{
"deprecated": false,
"digest": {
"line_hashes": [
"74645274398598483034025413723469293981",
"160557484114296298603609612894208182302",
"188846484198463092366458891630091667255",
"227878806990682516032852430723126131138"
],
"threshold": 0.9
},
"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,
"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",
"target": {
"file": "src/com/android/settings/bluetooth/BluetoothPermissionRequest.java",
"function": "onReceive"
}
}
]
},
"package": {
"ecosystem": "Android",
"name": "platform/packages/apps/Settings"
},
"ranges": [
{
"events": [
{
"introduced": "10:0"
},
{
"fixed": "10:2021-02-01"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10"
]
},
{
"ecosystem_specific": {
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/f065b8743377f62d6d0dc99da24ac034314dae1f"
],
"severity": "High",
"spl": "2021-02-01",
"types": [
"EoP"
],
"vanir_signatures": [
{
"deprecated": false,
"digest": {
"function_hash": "254086298093462912306453533651217985879",
"length": 4407
},
"id": "ASB-A-158219161-4d9dfbae",
"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": {
"line_hashes": [
"74645274398598483034025413723469293981",
"160557484114296298603609612894208182302",
"188846484198463092366458891630091667255",
"227878806990682516032852430723126131138"
],
"threshold": 0.9
},
"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"
}
}
]
},
"package": {
"ecosystem": "Android",
"name": "platform/packages/apps/Settings"
},
"ranges": [
{
"events": [
{
"introduced": "11:0"
},
{
"fixed": "11:2021-02-01"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"11"
]
}
],
"aliases": [
"CVE-2021-0336",
"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.",
"id": "ASB-A-158219161",
"modified": "2026-11-18T17:10:23.667821828Z",
"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"
}
]
}