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-172939189 (CVE-2021-0481)

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

    In onActivityResult of EditUserPhotoController.java, there is a possible access of unauthorized files due to an unexpected URI handler. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.

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

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/packages/apps/Settings/+/6746add669688765a78d98e9a5bbadcaaca5299d"
            ],
            "severity": "High",
            "spl": "2021-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "68206822101377684983174042021991236107",
                    "240043281711594384508559457642088270710",
                    "262409900301059725775001025124622875478",
                    "39192478889333380379515350386097722860",
                    "26686562759318639202346227432672279492",
                    "66998193636228404068683326841069128962",
                    "3849801015548461379991504931155685973",
                    "33006003959185636112581820292898575241"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172939189-564b2998",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/6746add669688765a78d98e9a5bbadcaaca5299d",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "149681975055593938242602441892048841884",
                  "length": 499
                },
                "id": "ASB-A-172939189-cb0b9635",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/6746add669688765a78d98e9a5bbadcaaca5299d",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java",
                  "function": "onActivityResult"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Settings"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "8.1:0"
                },
                {
                  "fixed": "8.1:2021-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "8.1"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/packages/apps/Settings/+/9c0024f455e41566579d963533a26048c7e2587f"
            ],
            "severity": "High",
            "spl": "2021-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "149681975055593938242602441892048841884",
                  "length": 499
                },
                "id": "ASB-A-172939189-0a788f24",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/9c0024f455e41566579d963533a26048c7e2587f",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java",
                  "function": "onActivityResult"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "68206822101377684983174042021991236107",
                    "240043281711594384508559457642088270710",
                    "262409900301059725775001025124622875478",
                    "39192478889333380379515350386097722860",
                    "26686562759318639202346227432672279492",
                    "66998193636228404068683326841069128962",
                    "3849801015548461379991504931155685973",
                    "33006003959185636112581820292898575241"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172939189-6adb1aa0",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/9c0024f455e41566579d963533a26048c7e2587f",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Settings"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "9:0"
                },
                {
                  "fixed": "9:2021-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "9"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/packages/apps/Settings/+/e0f8214e80372b2578a40e37296e8b8180c1443b"
            ],
            "severity": "High",
            "spl": "2021-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "149681975055593938242602441892048841884",
                  "length": 499
                },
                "id": "ASB-A-172939189-80c1c58e",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/e0f8214e80372b2578a40e37296e8b8180c1443b",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java",
                  "function": "onActivityResult"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "68206822101377684983174042021991236107",
                    "14071267469509202407620832052958066158",
                    "78102370905314753477617063382519190125",
                    "185794804406414574103969273213109940282",
                    "26686562759318639202346227432672279492",
                    "66998193636228404068683326841069128962",
                    "3849801015548461379991504931155685973",
                    "33006003959185636112581820292898575241"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172939189-f4f2425e",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/e0f8214e80372b2578a40e37296e8b8180c1443b",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Settings"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "10:0"
                },
                {
                  "fixed": "10:2021-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "10"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/packages/apps/Settings/+/e36357b20c524e92408f8a955c77624a1e514659"
            ],
            "severity": "High",
            "spl": "2021-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "68206822101377684983174042021991236107",
                    "14071267469509202407620832052958066158",
                    "78102370905314753477617063382519190125",
                    "185794804406414574103969273213109940282",
                    "26686562759318639202346227432672279492",
                    "66998193636228404068683326841069128962",
                    "3849801015548461379991504931155685973",
                    "33006003959185636112581820292898575241"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-172939189-709fbd08",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/e36357b20c524e92408f8a955c77624a1e514659",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "149681975055593938242602441892048841884",
                  "length": 499
                },
                "id": "ASB-A-172939189-a4fddd91",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/e36357b20c524e92408f8a955c77624a1e514659",
                "target": {
                  "file": "src/com/android/settings/users/EditUserPhotoController.java",
                  "function": "onActivityResult"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/packages/apps/Settings"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "11:0"
                },
                {
                  "fixed": "11:2021-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "11"
          ]
        }
      ],
      "aliases": [
        "CVE-2021-0481",
        "A-172939189"
      ],
      "details": "In onActivityResult of EditUserPhotoController.java, there is a possible access of unauthorized files due to an unexpected URI handler. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.",
      "id": "ASB-A-172939189",
      "modified": "2026-11-18T17:10:23.667821828Z",
      "published": "2021-05-01T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://source.android.com/security/bulletin/2021-05-01"
        },
        {
          "type": "FIX",
          "url": "https://android.googlesource.com/platform/packages/apps/Settings/+/d4f04398c71f67bc13f85e098e1dc71d840c1a4a"
        }
      ]
    }