ASB-A-158219161

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-158219161.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-158219161
Aliases
  • A-158219161
  • CVE-2021-0336
Published
2021-02-01T00:00:00Z
Modified
2026-09-23T18:42:52Z
Summary
[none]
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.

References

Affected packages

Android
platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.0:0
Fixed
8.0:2021-02-01

Affected versions

8.*
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-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"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"
platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.1:0
Fixed
8.1:2021-02-01

Affected versions

8.*
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":  {
                "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"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"
platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
9:0
Fixed
9:2021-02-01

Affected versions

Other
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":  {
                "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"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"
platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
10:0
Fixed
10:2021-02-01

Affected versions

Other
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":  {
                "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"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"
platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2021-02-01

Affected versions

Other
11

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"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-158219161.json"