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-172670415 (CVE-2021-0328)

    Vulnerability from osv_android – Published: 2021-02-01 00:00 – Updated: 2026-11-18 17:10 – Source website
    VLAI
    Details

    In onBatchScanReports and deliverBatchScan of GattService.java, there is a possible way to retrieve Bluetooth scan results without permissions due to a missing permission check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

    Impacted products
    Ecosystem Package Version
    Android platform/packages/apps/Bluetooth
    Affected: ≥ 8.0:0, < 8.0:2021-02-01 (ecosystem)
    8.0
    Android platform/packages/apps/Bluetooth
    Affected: ≥ 8.1:0, < 8.1:2021-02-01 (ecosystem)
    8.1
    Android platform/packages/apps/Bluetooth
    Affected: ≥ 9:0, < 9:2021-02-01 (ecosystem)
    9
    Android platform/packages/apps/Bluetooth
    Affected: ≥ 10:0, < 10:2021-02-01 (ecosystem)
    10
    Android platform/packages/apps/Bluetooth
    Affected: ≥ 11:0, < 11:2021-02-01 (ecosystem)
    11

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "62637463839837125086876068015025273969",
                    "38270130599441381463735570736799822404",
                    "195096344871186794395214098527183077533",
                    "85178481723156268957428251907431641949",
                    "193415904547943498162279726599686424159",
                    "88806902401815437722027234400844152704",
                    "21350239549760555821094269345351742450",
                    "337188717553211345690156008185681630492",
                    "101216632476963660759321528229588000937",
                    "46022503581342692754263094024415558664",
                    "313874570163440170746622256905708417180",
                    "57859124448746707765054464906393609726",
                    "283524686749161234451096108757056134326",
                    "249623149264698505304643346478833532494",
                    "229441578597004240020271146844174930709",
                    "257302227022005399365821461138133502102",
                    "237336725475634246690373654317658797276",
                    "251943799740403344409888645521693820664",
                    "77592495947522646339966218863454620141",
                    "297150821219752747575223256882298182202",
                    "132933073459527881868398518962440084842"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172670415-1d273f16",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "226707436334932483421368165759926246640",
                  "length": 866
                },
                "id": "ASB-A-172670415-4f65dbf2",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "onBatchScanReports"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "130891963601117552561634610282874083676",
                  "length": 453
                },
                "id": "ASB-A-172670415-d64850d6",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "deliverBatchScan"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Bluetooth"
          },
          "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/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "130891963601117552561634610282874083676",
                  "length": 453
                },
                "id": "ASB-A-172670415-2cdf817d",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "deliverBatchScan"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "226707436334932483421368165759926246640",
                  "length": 866
                },
                "id": "ASB-A-172670415-88048cad",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "onBatchScanReports"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "62637463839837125086876068015025273969",
                    "38270130599441381463735570736799822404",
                    "195096344871186794395214098527183077533",
                    "85178481723156268957428251907431641949",
                    "193415904547943498162279726599686424159",
                    "88806902401815437722027234400844152704",
                    "21350239549760555821094269345351742450",
                    "337188717553211345690156008185681630492",
                    "101216632476963660759321528229588000937",
                    "46022503581342692754263094024415558664",
                    "313874570163440170746622256905708417180",
                    "57859124448746707765054464906393609726",
                    "283524686749161234451096108757056134326",
                    "249623149264698505304643346478833532494",
                    "229441578597004240020271146844174930709",
                    "257302227022005399365821461138133502102",
                    "237336725475634246690373654317658797276",
                    "251943799740403344409888645521693820664",
                    "77592495947522646339966218863454620141",
                    "297150821219752747575223256882298182202",
                    "132933073459527881868398518962440084842"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172670415-d1738758",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Bluetooth"
          },
          "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/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "130891963601117552561634610282874083676",
                  "length": 453
                },
                "id": "ASB-A-172670415-1134e146",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "deliverBatchScan"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "62637463839837125086876068015025273969",
                    "38270130599441381463735570736799822404",
                    "195096344871186794395214098527183077533",
                    "85178481723156268957428251907431641949",
                    "193415904547943498162279726599686424159",
                    "88806902401815437722027234400844152704",
                    "21350239549760555821094269345351742450",
                    "337188717553211345690156008185681630492",
                    "101216632476963660759321528229588000937",
                    "46022503581342692754263094024415558664",
                    "313874570163440170746622256905708417180",
                    "57859124448746707765054464906393609726",
                    "283524686749161234451096108757056134326",
                    "249623149264698505304643346478833532494",
                    "229441578597004240020271146844174930709",
                    "257302227022005399365821461138133502102",
                    "237336725475634246690373654317658797276",
                    "251943799740403344409888645521693820664",
                    "77592495947522646339966218863454620141",
                    "297150821219752747575223256882298182202",
                    "132933073459527881868398518962440084842"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172670415-bc635f75",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "226707436334932483421368165759926246640",
                  "length": 866
                },
                "id": "ASB-A-172670415-d16017d9",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "onBatchScanReports"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Bluetooth"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "9:0"
                },
                {
                  "fixed": "9:2021-02-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "9"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "226707436334932483421368165759926246640",
                  "length": 866
                },
                "id": "ASB-A-172670415-2cd8e591",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "onBatchScanReports"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "62637463839837125086876068015025273969",
                    "38270130599441381463735570736799822404",
                    "195096344871186794395214098527183077533",
                    "85178481723156268957428251907431641949",
                    "193415904547943498162279726599686424159",
                    "88806902401815437722027234400844152704",
                    "21350239549760555821094269345351742450",
                    "337188717553211345690156008185681630492",
                    "101216632476963660759321528229588000937",
                    "46022503581342692754263094024415558664",
                    "313874570163440170746622256905708417180",
                    "57859124448746707765054464906393609726",
                    "283524686749161234451096108757056134326",
                    "249623149264698505304643346478833532494",
                    "229441578597004240020271146844174930709",
                    "257302227022005399365821461138133502102",
                    "237336725475634246690373654317658797276",
                    "251943799740403344409888645521693820664",
                    "77592495947522646339966218863454620141",
                    "297150821219752747575223256882298182202",
                    "132933073459527881868398518962440084842"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172670415-8b3030b3",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "130891963601117552561634610282874083676",
                  "length": 453
                },
                "id": "ASB-A-172670415-9009c94e",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "deliverBatchScan"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Bluetooth"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "10:0"
                },
                {
                  "fixed": "10:2021-02-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "10"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "130891963601117552561634610282874083676",
                  "length": 453
                },
                "id": "ASB-A-172670415-04442104",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "deliverBatchScan"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "62637463839837125086876068015025273969",
                    "38270130599441381463735570736799822404",
                    "195096344871186794395214098527183077533",
                    "85178481723156268957428251907431641949",
                    "193415904547943498162279726599686424159",
                    "88806902401815437722027234400844152704",
                    "21350239549760555821094269345351742450",
                    "337188717553211345690156008185681630492",
                    "101216632476963660759321528229588000937",
                    "46022503581342692754263094024415558664",
                    "313874570163440170746622256905708417180",
                    "57859124448746707765054464906393609726",
                    "283524686749161234451096108757056134326",
                    "249623149264698505304643346478833532494",
                    "229441578597004240020271146844174930709",
                    "257302227022005399365821461138133502102",
                    "237336725475634246690373654317658797276",
                    "251943799740403344409888645521693820664",
                    "77592495947522646339966218863454620141",
                    "297150821219752747575223256882298182202",
                    "132933073459527881868398518962440084842"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172670415-7b5d30e2",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "226707436334932483421368165759926246640",
                  "length": 866
                },
                "id": "ASB-A-172670415-9059506a",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4",
                "target": {
                  "file": "src/com/android/bluetooth/gatt/GattService.java",
                  "function": "onBatchScanReports"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Bluetooth"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "11:0"
                },
                {
                  "fixed": "11:2021-02-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "11"
          ]
        }
      ],
      "aliases": [
        "CVE-2021-0328",
        "A-172670415"
      ],
      "details": "In onBatchScanReports and deliverBatchScan of GattService.java, there is a possible way to retrieve Bluetooth scan results without permissions due to a missing permission check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.",
      "id": "ASB-A-172670415",
      "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/Bluetooth/+/6f7f9bbf46acaaf266537256da4d0345909ea1c4"
        }
      ]
    }