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-211481342 (CVE-2022-20007)

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

    In startActivityForAttachedApplicationIfNeeded of RootWindowContainer.java, there is a possible way to overlay an app that believes it's still in the foreground, when it is not, due to a race condition. 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/frameworks/base
    Affected: ≥ 10:0, < 10:2022-05-01 (ecosystem)
    10
    Android platform/frameworks/base
    Affected: ≥ 11:0, < 11:2022-05-01 (ecosystem)
    11
    Android platform/frameworks/base
    Affected: ≥ 12:0, < 12:2022-05-01 (ecosystem)
    12
    Android platform/frameworks/base
    Affected: ≥ 12L:0, < 12L:2022-05-01 (ecosystem)
    12L

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/frameworks/base/+/f2d4787451c80b47e6af8ebf274394e2388b713b"
            ],
            "severity": "High",
            "spl": "2022-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "141023656693504568718303043045723289406",
                  "length": 2676
                },
                "id": "ASB-A-211481342-488b7693",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/f2d4787451c80b47e6af8ebf274394e2388b713b",
                "target": {
                  "file": "services/core/java/com/android/server/wm/ActivityStack.java",
                  "function": "ensureActivitiesVisibleLocked"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "265567666363328009316766291779816785117",
                    "53907332540680031066789214734310041765",
                    "65749975123170630988475156044515974659",
                    "277523685082576573188188491059977227145"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-dbedda50",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/f2d4787451c80b47e6af8ebf274394e2388b713b",
                "target": {
                  "file": "services/core/java/com/android/server/wm/ActivityStack.java"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/frameworks/base"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "10:0"
                },
                {
                  "fixed": "10:2022-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "10"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/frameworks/base/+/43b8bcc01474bce480642acae2c554393c3bfb6a"
            ],
            "severity": "High",
            "spl": "2022-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "251112950739181405639966719234908206255",
                    "83669682660985076877179443934336485651",
                    "315377982696257541918893411816468620441",
                    "259532594117829782290285516985244435434"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-02855573",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/43b8bcc01474bce480642acae2c554393c3bfb6a",
                "target": {
                  "file": "services/core/java/com/android/server/wm/RootWindowContainer.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "150466165244095880331522550719824410387",
                    "187690494053581846233170596822695292917",
                    "155980943428515301594614483815652663719"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-697cf09f",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/43b8bcc01474bce480642acae2c554393c3bfb6a",
                "target": {
                  "file": "services/core/java/com/android/server/wm/Task.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "284563491099057972038320679047225312710",
                  "length": 718
                },
                "id": "ASB-A-211481342-6d949530",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/43b8bcc01474bce480642acae2c554393c3bfb6a",
                "target": {
                  "file": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java",
                  "function": "process"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "210439674102315913179200855426206322623",
                  "length": 635
                },
                "id": "ASB-A-211481342-b1719389",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/43b8bcc01474bce480642acae2c554393c3bfb6a",
                "target": {
                  "file": "services/core/java/com/android/server/wm/RootWindowContainer.java",
                  "function": "startActivityForAttachedApplicationIfNeeded"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "287968810090000373706026167669715480054",
                    "267970613735514761875446138456093310150",
                    "217113458273712800082966087131795558850",
                    "21960701325133836270128712680213658964"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-eb2bc714",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/43b8bcc01474bce480642acae2c554393c3bfb6a",
                "target": {
                  "file": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/frameworks/base"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "11:0"
                },
                {
                  "fixed": "11:2022-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "11"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/frameworks/base/+/51d287d831364cb158330e132cd11b4c596c04c2"
            ],
            "severity": "High",
            "spl": "2022-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "259500366982923429060362355301157258769",
                  "length": 678
                },
                "id": "ASB-A-211481342-1612283b",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/51d287d831364cb158330e132cd11b4c596c04c2",
                "target": {
                  "file": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java",
                  "function": "process"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "339002336518764212372267562421172478979",
                    "139327470621948964742565192560023401228",
                    "219767968608185639629613486298175019642"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-6e587282",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/51d287d831364cb158330e132cd11b4c596c04c2",
                "target": {
                  "file": "services/core/java/com/android/server/wm/Task.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "285143433293620240604462523766749455929",
                    "119121214563797779689665127131405081972",
                    "237614993053108767183977161468862875481",
                    "104755375363707518414171263314196612123"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-c2d64180",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/51d287d831364cb158330e132cd11b4c596c04c2",
                "target": {
                  "file": "services/core/java/com/android/server/wm/RootWindowContainer.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "335988676261549886432472829490354396702",
                  "length": 658
                },
                "id": "ASB-A-211481342-f2ce4290",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/51d287d831364cb158330e132cd11b4c596c04c2",
                "target": {
                  "file": "services/core/java/com/android/server/wm/RootWindowContainer.java",
                  "function": "startActivityForAttachedApplicationIfNeeded"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "324305646528481143465660489160114735470",
                    "253902656958495283332202878014858989385",
                    "110433786231047149049700391455805439041",
                    "293496982004747063844530705654266435028"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-fe99fe32",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/51d287d831364cb158330e132cd11b4c596c04c2",
                "target": {
                  "file": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/frameworks/base"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "12:0"
                },
                {
                  "fixed": "12:2022-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "12"
          ]
        },
        {
          "ecosystem_specific": {
            "fixes": [
              "https://android.googlesource.com/platform/frameworks/base/+/0a4f661ec6a18a0ddc47b6d9280a10b8d16c9457"
            ],
            "severity": "High",
            "spl": "2022-05-01",
            "types": [
              "EoP"
            ],
            "vanir_signatures": [
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "134863443288720454686397081544873217185",
                    "94859547814320681720412243322016240077",
                    "290486241058988899393624720413955752687",
                    "82352589247403428568488529382804937344"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-2589d4ce",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/0a4f661ec6a18a0ddc47b6d9280a10b8d16c9457",
                "target": {
                  "file": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "149877810031112576869864301943195675410",
                  "length": 1647
                },
                "id": "ASB-A-211481342-3291e7ec",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/0a4f661ec6a18a0ddc47b6d9280a10b8d16c9457",
                "target": {
                  "file": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java",
                  "function": "process"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "line_hashes": [
                    "285143433293620240604462523766749455929",
                    "119121214563797779689665127131405081972",
                    "237614993053108767183977161468862875481",
                    "104755375363707518414171263314196612123"
                  ],
                  "threshold": 0.9
                },
                "id": "ASB-A-211481342-8aec288f",
                "signature_type": "Line",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/0a4f661ec6a18a0ddc47b6d9280a10b8d16c9457",
                "target": {
                  "file": "services/core/java/com/android/server/wm/RootWindowContainer.java"
                }
              },
              {
                "deprecated": false,
                "digest": {
                  "function_hash": "335988676261549886432472829490354396702",
                  "length": 658
                },
                "id": "ASB-A-211481342-ef26e9d0",
                "signature_type": "Function",
                "signature_version": "v1",
                "source": "https://android.googlesource.com/platform/frameworks/base/+/0a4f661ec6a18a0ddc47b6d9280a10b8d16c9457",
                "target": {
                  "file": "services/core/java/com/android/server/wm/RootWindowContainer.java",
                  "function": "startActivityForAttachedApplicationIfNeeded"
                }
              }
            ]
          },
          "package": {
            "ecosystem": "Android",
            "name": "platform/frameworks/base"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "12L:0"
                },
                {
                  "fixed": "12L:2022-05-01"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "12L"
          ]
        }
      ],
      "aliases": [
        "CVE-2022-20007",
        "A-211481342"
      ],
      "details": "In startActivityForAttachedApplicationIfNeeded of RootWindowContainer.java, there is a possible way to overlay an app that believes it\u0027s still in the foreground, when it is not, due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.",
      "id": "ASB-A-211481342",
      "modified": "2026-11-18T17:10:23.667821828Z",
      "published": "2022-05-01T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://source.android.com/security/bulletin/2022-05-01"
        },
        {
          "type": "FIX",
          "url": "https://android.googlesource.com/platform/frameworks/base/+/9a1dfd9a9de3bb33cd81e3003251b49f7862f276"
        }
      ]
    }