ASB-A-209607944

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-209607944.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-209607944
Aliases
Published
2022-03-01T00:00:00Z
Modified
2026-05-01T15:24:27.653932Z
Summary
[none]
Details

In createOrUpdate of BasePermission.java, there is a possible permission bypass due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2022-03-01

Affected versions

Other
11

Ecosystem specific

{
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/b5efdf729385cc54f225496d3ba20f1cb5b68250"
    ],
    "severity": "High",
    "spl": "2022-03-01",
    "vanir_signatures": [
        {
            "deprecated": false,
            "signature_version": "v1",
            "id": "ASB-A-209607944-1b7de7b1",
            "digest": {
                "length": 2875.0,
                "function_hash": "94524235830584211206340425791519696711"
            },
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b5efdf729385cc54f225496d3ba20f1cb5b68250",
            "signature_type": "Function",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/BasePermission.java",
                "function": "createOrUpdate"
            }
        },
        {
            "deprecated": false,
            "signature_version": "v1",
            "id": "ASB-A-209607944-9d0a1caf",
            "digest": {
                "line_hashes": [
                    "57342287839929444362827475414851470507",
                    "302858792421749903532985804466077698487",
                    "233655310777596817989740401202875441725",
                    "62456619360846887075924605094667825001"
                ],
                "threshold": 0.9
            },
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b5efdf729385cc54f225496d3ba20f1cb5b68250",
            "signature_type": "Line",
            "target": {
                "file": "services/core/java/com/android/server/pm/permission/BasePermission.java"
            }
        }
    ],
    "types": [
        "EoP"
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/ASB-A-209607944.json"