PUB-A-192247339

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-192247339.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-192247339
Aliases
  • A-192247339
  • CVE-2021-0986
Published
2021-12-01T00:00:00Z
Modified
2024-11-06T12:16:03.231308Z
Summary
[none]
Details

In hasGrantedPolicy of DevicePolicyManagerService.java, there is a possible information disclosure about the device owner, profile owner, or device admin due to a logic error in the code. 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": 438.0,
                "function_hash": "25839808463527860694172384588210268622"
            },
            "id": "PUB-A-192247339-c739558e",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/251176e7748794928132121ac4f4390a55f34320",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java",
                "function": "hasGrantedPolicy"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "278540051461643046588832744851325989598",
                    "53560492051083007155866591539277770373",
                    "35761485490160325391943810166402359359",
                    "118216105468481680974465064182699631391"
                ]
            },
            "id": "PUB-A-192247339-d5fbc804",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/251176e7748794928132121ac4f4390a55f34320",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/251176e7748794928132121ac4f4390a55f34320"
    ],
    "spl": "2021-12-01",
    "severity": "Moderate",
    "types": [
        "ID"
    ]
}