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-170731783 (CVE-2021-0331)

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

    In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.

    Impacted 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/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "145358671088144896228324099267018853571",
                  "length": 928
                },
                "id": "ASB-A-170731783-405a3818",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java",
                  "function": "onCreate"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "87350972594315985056756197480146312750",
                    "128441514203815780955371503440319638117",
                    "42504521014124521314865413295361664258",
                    "48431991658275707829598539139946437564"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-170731783-fcf54f0c",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java"
                }
              }
            ]
          },
          "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/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "145358671088144896228324099267018853571",
                  "length": 928
                },
                "id": "ASB-A-170731783-04be69c1",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java",
                  "function": "onCreate"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "87350972594315985056756197480146312750",
                    "128441514203815780955371503440319638117",
                    "42504521014124521314865413295361664258",
                    "48431991658275707829598539139946437564"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-170731783-33bc39ba",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java"
                }
              }
            ]
          },
          "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/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "145358671088144896228324099267018853571",
                  "length": 928
                },
                "id": "ASB-A-170731783-3fb0935a",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java",
                  "function": "onCreate"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "87350972594315985056756197480146312750",
                    "128441514203815780955371503440319638117",
                    "42504521014124521314865413295361664258",
                    "48431991658275707829598539139946437564"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-170731783-dfb9879c",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.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/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "87350972594315985056756197480146312750",
                    "128441514203815780955371503440319638117",
                    "42504521014124521314865413295361664258",
                    "48431991658275707829598539139946437564"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-170731783-b937f92b",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "145358671088144896228324099267018853571",
                  "length": 928
                },
                "id": "ASB-A-170731783-e14ac1f2",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java",
                  "function": "onCreate"
                }
              }
            ]
          },
          "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/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38"
            ],
            "severity": "High",
            "spl": "2021-02-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "145358671088144896228324099267018853571",
                  "length": 928
                },
                "id": "ASB-A-170731783-85523074",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.java",
                  "function": "onCreate"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "87350972594315985056756197480146312750",
                    "128441514203815780955371503440319638117",
                    "42504521014124521314865413295361664258",
                    "48431991658275707829598539139946437564"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-170731783-ebd4ad9b",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38",
                "target": {
                  "file": "src/com/android/settings/notification/NotificationAccessConfirmationActivity.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-0331",
        "A-170731783"
      ],
      "details": "In onCreate of NotificationAccessConfirmationActivity.java, there is a possible overlay attack due to an insecure default value. This could lead to local escalation of privilege and notification access with User execution privileges needed. User interaction is needed for exploitation.",
      "id": "ASB-A-170731783",
      "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/+/8cef97cb2bb8a728e5f70644accad1a3306c6d38"
        }
      ]
    }