PUB-A-189857801

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-189857801.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-189857801
Aliases
  • A-189857801
  • CVE-2021-1010
Published
2021-12-01T00:00:00Z
Modified
2024-08-29T07:12:54.266425Z
Summary
App can query which applications are installed on the device without requiring QUERY_ALL_PACKAGES permission [getSigningKeySet method]
Details

In getSigningKeySet of PackageManagerService.java, there is a missing permission check. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2021-12-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 869.0,
                "function_hash": "132584928615221730268150791750476423550"
            },
            "id": "PUB-A-189857801-60efad0e",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/5228b4cf3a55e2abfc833f23f6ed683d5ef35bb8",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/PackageManagerService.java",
                "function": "getSigningKeySet"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "269872727543979060273050115687526126547",
                    "236636862371516801432910501098450022312",
                    "231262560110106771437992143478379125344",
                    "244768083747770656005397341329372162045",
                    "13406896532638826383005944769576071522",
                    "34486164087355723149574297097066475362",
                    "249833021071024907082647275849633242455",
                    "20735436386915824579006483356741752492",
                    "19158146158145962835957127313103159540",
                    "213738950766423406319545604270963899843"
                ]
            },
            "id": "PUB-A-189857801-6f6d12c7",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/5228b4cf3a55e2abfc833f23f6ed683d5ef35bb8",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/PackageManagerService.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/5228b4cf3a55e2abfc833f23f6ed683d5ef35bb8"
    ],
    "spl": "2021-12-01",
    "severity": "Moderate",
    "types": [
        "ID"
    ]
}