PUB-A-190403923

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

In onReceive of AlertReceiver.java, there is a possible way to dismiss system dialog due to a missing permission check. 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/packages/apps/Calendar

Affected ranges

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

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 125.0,
                "function_hash": "108617513870138025136260894798723387824"
            },
            "id": "PUB-A-190403923-1c794392",
            "source": "https://android.googlesource.com/platform/packages/apps/Calendar/+/ae487ada1969c32e7bbd32d8a83fc587506cd51c",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/calendar/alerts/AlertReceiver.java",
                "function": "closeNotificationShade"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "length": 208.0,
                "function_hash": "93356585002155740390245538472246922660"
            },
            "id": "PUB-A-190403923-41073d3e",
            "source": "https://android.googlesource.com/platform/packages/apps/Calendar/+/ae487ada1969c32e7bbd32d8a83fc587506cd51c",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/calendar/alerts/AlertReceiver.java",
                "function": "onReceive"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "300617179344378637534527336095936374568",
                    "180678488712927927906112762742832389511",
                    "143164644377627368423907901371003681387",
                    "271827929067176684688928617079353341344",
                    "106114471733513251642808885011820723129",
                    "295015509283110613549894267130139925544",
                    "208427662785872013839685999483419916928",
                    "142511458237997025435444913586429282833",
                    "197174280565475402059731278978296818377"
                ]
            },
            "id": "PUB-A-190403923-5b10c57e",
            "source": "https://android.googlesource.com/platform/packages/apps/Calendar/+/ae487ada1969c32e7bbd32d8a83fc587506cd51c",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/calendar/alerts/AlertReceiver.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Calendar/+/ae487ada1969c32e7bbd32d8a83fc587506cd51c"
    ],
    "spl": "2021-12-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}