ASB-A-208662370

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-208662370.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-208662370
Aliases
  • A-208662370
  • CVE-2021-39693
Published
2022-03-01T00:00:00Z
Modified
2024-08-07T19:30:17.308741Z
Summary
AppOps appears to suppress MONITOR_HIGH_POWER_LOCATION op inappropriately with respect to location foreground services
Details

In onUidStateChanged of AppOpsService.java, there is a possible way to access location without a visible indicator due to a logic error in the code. This could lead to local escalation of privilege 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:2022-03-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1235.0,
                "function_hash": "315538145376716360253371471486438683231"
            },
            "id": "ASB-A-208662370-acba7904",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/f14e212d82b32053d151eedf97ac59a4b5b18369",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/appop/AppOpsService.java",
                "function": "onUidStateChanged"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "37134809959087956661517944958170528644",
                    "328764706330746749091075703301307103179",
                    "6457097028563598592615406195549245715"
                ]
            },
            "id": "ASB-A-208662370-ae70cc6f",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/f14e212d82b32053d151eedf97ac59a4b5b18369",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/appop/AppOpsService.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/f14e212d82b32053d151eedf97ac59a4b5b18369"
    ],
    "spl": "2022-03-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2022-03-01

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1235.0,
                "function_hash": "315538145376716360253371471486438683231"
            },
            "id": "ASB-A-208662370-0602e1fe",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/2623d2792bb56bd81cfeec0430cb0c024ddaf684",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/appop/AppOpsService.java",
                "function": "onUidStateChanged"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "37134809959087956661517944958170528644",
                    "328764706330746749091075703301307103179",
                    "6457097028563598592615406195549245715"
                ]
            },
            "id": "ASB-A-208662370-73172252",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/2623d2792bb56bd81cfeec0430cb0c024ddaf684",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/appop/AppOpsService.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/2623d2792bb56bd81cfeec0430cb0c024ddaf684"
    ],
    "spl": "2022-03-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}