PUB-A-183610267

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-183610267.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-183610267
Aliases
Published
2021-12-01T00:00:00Z
Modified
2026-05-19T16:54:37.272608834Z
Summary
[none]
Details

In onCreate of UsbPermissionActivity.java, there is a possible way to grant an app access to USB without informed user consent due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is 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

{
    "severity": "Moderate",
    "spl": "2021-12-01",
    "vanir_signatures": [
        {
            "deprecated": false,
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "163532671664865422384218442337373839030",
                    "310103082694577466317846615954586161197",
                    "281521133877572510902589135737756547925",
                    "138804174498789341152941173329259920122",
                    "175494018964404855900479112542516289229",
                    "50698346722460284117743682877130884733",
                    "317074890106218256720470517531320743497"
                ]
            },
            "id": "PUB-A-183610267-29983c6d",
            "signature_type": "Line",
            "target": {
                "file": "packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java"
            },
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/fe59586648042e7e8e45362d4489989a938d0947"
        },
        {
            "id": "PUB-A-183610267-b3902a49",
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/fe59586648042e7e8e45362d4489989a938d0947",
            "signature_type": "Function",
            "target": {
                "function": "onCreate",
                "file": "packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java"
            },
            "digest": {
                "function_hash": "39265625895105472026225187673510550227",
                "length": 2560.0
            },
            "deprecated": false
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/fe59586648042e7e8e45362d4489989a938d0947"
    ],
    "types": [
        "EoP"
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/PUB-A-183610267.json"